com.hs.mail.imap.parser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hs.mail.imap.parser.ParseException
All Implemented Interfaces:
Serializable

public class ParseException
extends RuntimeException

This exception is thrown when errors are encountered while parsing the IMAP command.

Since:
Jan 12, 2010
Author:
Won Chul Doh
See Also:
Serialized Form

Constructor Summary
ParseException(LinkedList<Token> tokens, String message)
           
ParseException(LinkedList<Token> tokens, String message, Throwable cause)
           
ParseException(String tag, String message)
           
ParseException(String tag, Throwable cause)
           
 
Method Summary
 String getMessage()
           
 String getTag()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(String tag,
                      Throwable cause)

ParseException

public ParseException(String tag,
                      String message)

ParseException

public ParseException(LinkedList<Token> tokens,
                      String message)

ParseException

public ParseException(LinkedList<Token> tokens,
                      String message,
                      Throwable cause)
Method Detail

getTag

public String getTag()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011. All Rights Reserved.