public class MessageFormatRuntimeException extends JMSRuntimeException
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 and Description |
---|
MessageFormatRuntimeException(String detailMessage)
Constructs a
MessageFormatRuntimeException with the specified detail message |
MessageFormatRuntimeException(String detailMessage,
String errorCode)
Constructs a
MessageFormatRuntimeException with the specified detail message and error code. |
MessageFormatRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
MessageFormatRuntimeException with the specified detail message, error code and cause |
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MessageFormatRuntimeException(String detailMessage)
MessageFormatRuntimeException
with the specified detail messagedetailMessage
- a description of the exceptionpublic MessageFormatRuntimeException(String detailMessage, String errorCode)
MessageFormatRuntimeException
with the specified detail message and error code.detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic MessageFormatRuntimeException(String detailMessage, String errorCode, Throwable cause)
MessageFormatRuntimeException
with the specified detail message, error code and causedetailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exceptionCopyright © 2019 Eclipse Foundation.
Use is subject to license terms.