|
Oracle GlassFish(tm) Server Message Queue 5.0 |
|||||||||
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.lang.RuntimeException
javax.jms.JMSRuntimeException
javax.jms.MessageFormatRuntimeException
public class MessageFormatRuntimeException
This unchecked exception must be thrown when a JMS application attempts to
use a data type not supported by a message or attempts to read data in a
message as the wrong type, and the method signature does not permit a
MessageFormatException
to be thrown. It must also be thrown when
equivalent type errors are made with message property values. Note that the
special case of a failure caused by an attempt to read improperly formatted
String
data as numeric values must throw the
java.lang.NumberFormatException
.
Constructor Summary | |
---|---|
MessageFormatRuntimeException(java.lang.String detailMessage)
Constructs a MessageFormatRuntimeException with the specified detail message |
|
MessageFormatRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a MessageFormatRuntimeException with the specified detail message
and error code. |
|
MessageFormatRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a MessageFormatRuntimeException with the specified detail message,
error code and cause |
Method Summary |
---|
Methods inherited from class javax.jms.JMSRuntimeException |
---|
getErrorCode |
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 MessageFormatRuntimeException(java.lang.String detailMessage)
MessageFormatRuntimeException
with the specified detail message
detailMessage
- a description of the exceptionpublic MessageFormatRuntimeException(java.lang.String detailMessage, java.lang.String errorCode)
MessageFormatRuntimeException
with the specified detail message
and error code.
detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic MessageFormatRuntimeException(java.lang.String detailMessage, java.lang.String errorCode, java.lang.Throwable cause)
MessageFormatRuntimeException
with the specified detail message,
error code and cause
detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exception
|
Oracle GlassFish(tm) Server Message Queue 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |