Class MessageFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.scalagent.joram.mom.dest.rest.MessageFormatException
-
- All Implemented Interfaces:
Serializable
public final class MessageFormatException extends Exception
This exception must be thrown when an issue occurs during message decoding.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ExceptionlinkedExceptionExceptionreference.private static longserialVersionUIDExplicitly set serialVersionUID.
-
Constructor Summary
Constructors Constructor Description MessageFormatException(String reason)Constructs aMessageFormatExceptionwith the specified reason.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptiongetLinkedException()Gets the exception linked to this one.voidsetLinkedException(Exception exc)Adds a linkedException.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Explicitly set serialVersionUID.- See Also:
- Constant Field Values
-
linkedException
private Exception linkedException
Exceptionreference.
-
-
Constructor Detail
-
MessageFormatException
public MessageFormatException(String reason)
Constructs aMessageFormatExceptionwith the specified reason. The error code defaults to null.- Parameters:
reason- a description of the exception
-
-