JavaScript is disabled on your browser.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method
javax.jms

Class MessageFormatRuntimeException

  • All Implemented Interfaces:
    Serializable


    public class MessageFormatRuntimeException
    extends JMSRuntimeException 
    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.
    Since:
    JMS 2.0
    Version:
    JMS 2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • MessageFormatRuntimeException

        public MessageFormatRuntimeException(String detailMessage)
        Constructs a MessageFormatRuntimeException with the specified detail message
        Parameters:
        detailMessage - a description of the exception
      • MessageFormatRuntimeException

        public MessageFormatRuntimeException(String detailMessage,
         String errorCode)
        Constructs a MessageFormatRuntimeException with the specified detail message and error code.
        Parameters:
        detailMessage - a description of the exception
        errorCode - a provider-specific error code
      • MessageFormatRuntimeException

        public MessageFormatRuntimeException(String detailMessage,
         String errorCode,
         Throwable cause)
        Constructs a MessageFormatRuntimeException with the specified detail message, error code and cause
        Parameters:
        detailMessage - a description of the exception
        errorCode - a provider-specific error code
        cause - the underlying cause of this exception
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /