Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.jms
Class JMSException  view JMSException download JMSException.java

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

public class JMSException
extends java.lang.Exception

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

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.String errorCode
           
private  java.lang.Exception linkedException
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
JMSException(java.lang.String reason)
           
JMSException(java.lang.String reason, java.lang.String errorCode)
           
 
Method Summary
 java.lang.String getErrorCode()
           
 java.lang.Exception getLinkedException()
           
 void setLinkedException(java.lang.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
 

Field Detail

errorCode

private java.lang.String errorCode

linkedException

private java.lang.Exception linkedException
Constructor Detail

JMSException

public JMSException(java.lang.String reason,
                    java.lang.String errorCode)

JMSException

public JMSException(java.lang.String reason)
Method Detail

getErrorCode

public java.lang.String getErrorCode()

getLinkedException

public java.lang.Exception getLinkedException()

setLinkedException

public void setLinkedException(java.lang.Exception ex)