exception
Class MessageTooLongException
java.lang.Object
java.lang.Throwable
java.lang.Exception
exception.MessageTooLongException
- All Implemented Interfaces:
- java.io.Serializable
public final class MessageTooLongException
- extends java.lang.Exception
Exception thrown when a Client
tries to generate a mix message,
but the bypassed message (= payload) is larger than the maximum message size
(see package message
for the maximum allowed size).
- Author:
- Karl-Peter Fuchs
- See Also:
message
,
Serialized Form
Field Summary |
private static long |
serialVersionUID
The serialVersionUID as identifier for this serializable class |
Method Summary |
java.lang.String |
getMessage()
Returns the String "Message is too long". |
java.lang.String |
toString()
Returns the String "MessageTooLongException". |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The serialVersionUID as identifier for this serializable class
- See Also:
- Constant Field Values
MessageTooLongException
public MessageTooLongException()
- Constructs a MessageTooLongException (empty constructor).
getMessage
public java.lang.String getMessage()
- Returns the String "Message is too long".
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- "Message is too long"
toString
public java.lang.String toString()
- Returns the String "MessageTooLongException".
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- "MessageTooLongException"