|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.grizzly.filter.MessageParseException
public class MessageParseException
If something went wrong during parsing like a Bad Magic or bad Message Format usually a <@link MessageParseException> is thrown.
| Constructor Summary | |
|---|---|
MessageParseException(java.lang.String message,
Message.ErrorCode errorCode)
|
|
| Method Summary | |
|---|---|
MessageBase |
convertToMessage()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
|---|
public MessageParseException(java.lang.String message,
Message.ErrorCode errorCode)
| Method Detail |
|---|
public MessageBase convertToMessage()
MessageError
since CustomProtocolParser can not throw an Exception
a MessageBase must be given to the next Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||