|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception gov.nasa.arc.brahms.common.exceptions.BrahmsException gov.nasa.arc.brahms.vm.api.exceptions.VMException gov.nasa.arc.brahms.vm.api.exceptions.EventNotifierException gov.nasa.arc.brahms.vm.api.exceptions.MessageFormatException
public class MessageFormatException
This exception must be thrown when an EventNotifier client attempts to use a data type not supported by an event message or attempts to read data in a message as the wrong type. Note that the special case of a failure caused by attempting to read improperly formatted String data as numeric values should throw the java.lang.NumberFormatException.
Constructor Summary | |
---|---|
MessageFormatException()
Constructor, creates a new MessageFormatException with no detail message |
|
MessageFormatException(java.lang.String message)
Construct a MessageFormatException with reason. |
|
MessageFormatException(java.lang.String message,
java.lang.Throwable t)
Constructor, creates a new MessageFormatException with the given detail message wrapping the given exception |
|
MessageFormatException(java.lang.Throwable t)
Constructor, creates a new MessageFormatException with the given linked exception |
Method Summary |
---|
Methods inherited from class gov.nasa.arc.brahms.common.exceptions.BrahmsException |
---|
getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageFormatException()
public MessageFormatException(java.lang.String message)
message
- a description of the exceptionpublic MessageFormatException(java.lang.Throwable t)
t
- the Throwable to be linked to this exceptionpublic MessageFormatException(java.lang.String message, java.lang.Throwable t)
message
- the detail messaget
- the Throwable to be linked to this exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |