javax.resource
Class ResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.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

The root resource exception.

See Also:
Serialized Form

Constructor Summary
ResourceException()
           
ResourceException(java.lang.String msg)
           
ResourceException(java.lang.String msg, java.lang.String errorCode)
           
ResourceException(java.lang.String msg, 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 exn)
          Deprecated.  
 
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

ResourceException

public ResourceException()

ResourceException

public ResourceException(java.lang.String msg)

ResourceException

public ResourceException(java.lang.String msg,
                         java.lang.String errorCode)

ResourceException

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

ResourceException

public ResourceException(java.lang.Throwable cause)
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 exn)
Deprecated.