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:
Serializable
Direct Known Subclasses:
ApplicationServerInternalException, CommException, EISSystemException, IllegalStateException, InvalidPropertyException, LocalTransactionException, NotSupportedException, ResourceAdapterInternalException, ResourceAllocationException, ResourceWarning, SecurityException, SharingViolationException, UnavailableException, WorkException

public class ResourceException
extends Exception

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

Constructor Summary
ResourceException()
           
ResourceException(String message)
           
ResourceException(String message, String errorCode)
           
ResourceException(String message, Throwable cause)
           
ResourceException(Throwable cause)
           
 
Method Summary
 String getErrorCode()
           
 Exception getLinkedException()
          Deprecated.  
 void setErrorCode(String errorCode)
           
 void setLinkedException(Exception ex)
          Deprecated.  
 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
 

Constructor Detail

ResourceException

public ResourceException()

ResourceException

public ResourceException(String message)

ResourceException

public ResourceException(Throwable cause)

ResourceException

public ResourceException(String message,
                         Throwable cause)

ResourceException

public ResourceException(String message,
                         String errorCode)
Method Detail

getErrorCode

public String getErrorCode()

setErrorCode

public void setErrorCode(String errorCode)

getLinkedException

public Exception getLinkedException()
Deprecated. 


setLinkedException

public void setLinkedException(Exception ex)
Deprecated. 


toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2006 Apache Software Foundation. All Rights Reserved.