Websphere MQ Everyplace

com.ibm.mqe.transaction
Class MQeTransactionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.mqe.transaction.MQeTransactionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidStateException, MQeTransactionManagerException

public class MQeTransactionException
extends java.lang.Exception

This is the root class of all WebSphere MQ Everyplace transaction exceptions. These exceptions can only be thrown when using the JMS API but may be thrown for any type of JMS Session. Exceptions from this class or its Extended classes will only be visible to clients via the getLinkedException call from a caught JMSException It provides a string describing the error, and optionally a link to another exception. The linked exception will typically be the result of a lower-level problem.

See Also:
Serialized Form

Constructor Summary
MQeTransactionException(java.lang.String s)
          Constructor for MQeTransactionException.
 
Method Summary
 java.lang.Exception getLinkedException()
          get a sub-exception that has been linked to this exception
 void setLinkedException(java.lang.Exception e)
          link a sub-exception to this exception
 
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

MQeTransactionException

public MQeTransactionException(java.lang.String s)
Constructor for MQeTransactionException.

Method Detail

setLinkedException

public void setLinkedException(java.lang.Exception e)
link a sub-exception to this exception


getLinkedException

public java.lang.Exception getLinkedException()
get a sub-exception that has been linked to this exception

Returns:
Exception a linked exception

Websphere MQ Everyplace