|
|||||||||
| 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.io.IOException
net.gleamynode.netty2.MessageParseException
public class MessageParseException
An exception that is thrown when MessageRecognizeror Message
cannot understand or validate incoming data.
| Constructor Summary | |
|---|---|
MessageParseException()
Constructs a new instance. |
|
MessageParseException(String message)
Constructs a new instance with the specified message. |
|
MessageParseException(String message,
Throwable cause)
Constructs a new instance with the specified message and the specified cause. |
|
MessageParseException(Throwable cause)
Constructs a new instance with the specified cause. |
|
| Method Summary | |
|---|---|
ByteBuffer |
getBuffer()
Returns unknown message part. |
String |
getMessage()
Returns the message and the hexdump of the unknown part. |
| 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 |
|---|
public MessageParseException()
public MessageParseException(String message)
public MessageParseException(Throwable cause)
public MessageParseException(String message,
Throwable cause)
| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic ByteBuffer getBuffer()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||