javax.jms
Class JMSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jms.JMSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalStateException, InvalidClientIDException, InvalidDestinationException, InvalidSelectorException, JMSSecurityException, MessageEOFException, MessageFormatException, MessageNotReadableException, MessageNotWriteableException, ResourceAllocationException, TransactionInProgressException, TransactionRolledBackException

public class JMSException
extends Exception

Version:
$Rev: 106434 $ $Date: 2004-11-24 09:11:30 -0800 (Wed, 24 Nov 2004) $
See Also:
Serialized Form

Constructor Summary
JMSException(String reason)
           
JMSException(String reason, String errorCode)
           
 
Method Summary
 String getErrorCode()
           
 Exception getLinkedException()
           
 void setLinkedException(Exception ex)
           
 
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

JMSException

public JMSException(String reason,
                    String errorCode)

JMSException

public JMSException(String reason)
Method Detail

getErrorCode

public String getErrorCode()

getLinkedException

public Exception getLinkedException()

setLinkedException

public void setLinkedException(Exception ex)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.