javax.resource.spi
Class ApplicationServerInternalException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.resource.ResourceException
                    |
                    +--javax.resource.spi.ApplicationServerInternalException
All Implemented Interfaces:
java.io.Serializable

public class ApplicationServerInternalException
extends ResourceException

An ApplicationServerInternalException is thrown by an application server to indicate error conditions specific to an application server. These error conditions can be related to either configuration related errors or implementation of mechanisms internal to an application server (example: connection pooling, thread management).

See Also:
Serialized Form

Constructor Summary
ApplicationServerInternalException(java.lang.String reason)
          Create an ApplicationServerInternalException with reason.
ApplicationServerInternalException(java.lang.String reason, java.lang.String errorCode)
          Create an ApplicationServerInternalException.
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationServerInternalException

public ApplicationServerInternalException(java.lang.String reason,
                                          java.lang.String errorCode)
Create an ApplicationServerInternalException.
Parameters:
reason - a description of the exception
errorCode - a string specifying the vendor specific error code

ApplicationServerInternalException

public ApplicationServerInternalException(java.lang.String reason)
Create an ApplicationServerInternalException with reason.
Parameters:
reason - a description of the exception