|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.abstracthorizon.danube.connection.ConnectionException
org.abstracthorizon.mercury.common.command.CommandException
org.abstracthorizon.mercury.smtp.exception.SMTPCommandException
org.abstracthorizon.mercury.smtp.exception.ParserException
public class ParserException
Parser exception
Constructor Summary | |
---|---|
ParserException()
Constructor |
|
ParserException(boolean missing,
String msg)
Constructor |
|
ParserException(String msg)
Constructor - it constructs message "Syntax error - expected <" + msg + ">" |
Method Summary | |
---|---|
protected static String |
compose(boolean missing,
String msg)
Composes string "Syntax error - expected " + msg. |
String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParserException()
public ParserException(String msg)
msg
- messagepublic ParserException(boolean missing, String msg)
missing
- is message name of missing elementmsg
- messageMethod Detail |
---|
protected static String compose(boolean missing, String msg)
missing
- is message name of missing elementmsg
- message
public String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |