javax.resource
Class ResourceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApplicationServerInternalException, CommException, EISSystemException, IllegalStateException, InvalidPropertyException, LocalTransactionException, NotSupportedException, ResourceAdapterInternalException, ResourceAllocationException, ResourceWarning, SecurityException, SharingViolationException, UnavailableException, WorkException

public class ResourceException
extends java.lang.Exception

Version:
$Rev: 46019 $ $Date: 2004-09-14 03:56:06 -0600 (Tue, 14 Sep 2004) $
See Also:
Serialized Form

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
ResourceException()
           
ResourceException(java.lang.String message)
           
ResourceException(java.lang.String message, java.lang.String errorCode)
           
ResourceException(java.lang.String message, java.lang.Throwable cause)
           
ResourceException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getErrorCode()
           
 java.lang.Exception getLinkedException()
          Deprecated.  
 void setErrorCode(java.lang.String errorCode)
           
 void setLinkedException(java.lang.Exception ex)
          Deprecated.  
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
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

ResourceException

public ResourceException()

ResourceException

public ResourceException(java.lang.String message)

ResourceException

public ResourceException(java.lang.Throwable cause)

ResourceException

public ResourceException(java.lang.String message,
                         java.lang.Throwable cause)

ResourceException

public ResourceException(java.lang.String message,
                         java.lang.String errorCode)
Method Detail

getErrorCode

public java.lang.String getErrorCode()

setErrorCode

public void setErrorCode(java.lang.String errorCode)

getLinkedException

public java.lang.Exception getLinkedException()
Deprecated.  


setLinkedException

public void setLinkedException(java.lang.Exception ex)
Deprecated.  


toString

public java.lang.String toString()