Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.jms.common
Class JMSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jms.JMSException
              extended by weblogic.jms.common.JMSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClientSAFDuplicateException, ConfigurationException, ConsumerClosedException, DataOverrunException, JMSOrderException, SequenceGapException

public class JMSException
extends JMSException

See Also:
Serialized Form

Constructor Summary
JMSException(Loggable i18nLog)
          A constructor that takes an i18n safe loggable
JMSException(Loggable i18nLog, String errorCode)
          Constructor taking an i18n safe loggable
JMSException(Loggable i18nLog, String errorCode, Throwable cause)
          Constructor with a cause, an error code and an i18n safe loggable
JMSException(Loggable i18nLog, Throwable cause)
          Constructor with a cause and an i18n safe loggable
JMSException(String message, String errorCode, Throwable cause)
          Deprecated. use #this(Loggable, String, Throwable)
JMSException(Throwable cause)
           
 
Method Summary
 Exception getLinkedException()
           
 boolean isInformational()
           
 void setLinkedException(Exception cause)
           
 
Methods inherited from class javax.jms.JMSException
getErrorCode
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

JMSException

public JMSException(Loggable i18nLog)
A constructor that takes an i18n safe loggable

Parameters:
i18nLog - The loggable message to go along with this exception

JMSException

public JMSException(Throwable cause)

JMSException

public JMSException(Loggable i18nLog,
                    String errorCode)
Constructor taking an i18n safe loggable

Parameters:
i18nLog - The loggable message to go along with this exception
errorCode - An associated error code

JMSException

public JMSException(Loggable i18nLog,
                    Throwable cause)
Constructor with a cause and an i18n safe loggable

Parameters:
i18nLog - The loggable message to go along with this exception
cause - The real cause of this exception

JMSException

public JMSException(Loggable i18nLog,
                    String errorCode,
                    Throwable cause)
Constructor with a cause, an error code and an i18n safe loggable

Parameters:
i18nLog -
errorCode -
cause -

JMSException

public JMSException(String message,
                    String errorCode,
                    Throwable cause)
Deprecated. use #this(Loggable, String, Throwable)

Parameters:
message -
errorCode -
cause -
Method Detail

setLinkedException

public final void setLinkedException(Exception cause)
Overrides:
setLinkedException in class JMSException

getLinkedException

public final Exception getLinkedException()
Overrides:
getLinkedException in class JMSException

isInformational

public boolean isInformational()

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02