Movatterモバイル変換


[0]ホーム

URL:


         


Class ResourceException

java.lang.Object  |  +--java.lang.Throwable        |        +--java.lang.Exception              |              +--javax.resource.ResourceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApplicationServerInternalException,CommException,EISSystemException,IllegalStateException,LocalTransactionException,NotSupportedException,ResourceAdapterInternalException,ResourceAllocationException,ResourceWarning,SecurityException

public classResourceException
extends java.lang.Exception

This is the root interface of the exception hierarchy defined for the Connector architecture. The ResourceException provides the following information:

See Also:
Serialized Form

ResourceException(java.lang.String reason)
          Create a ResourceException with reason.
ResourceException(java.lang.String reason, java.lang.String errorCode)
          Create a ResourceException.
 
getErrorCode()
          Get the vendor specific error code
getLinkedException()
          Get the exception linked to this ResourceException
setLinkedException(java.lang.Exception ex)
          Add a linked Exception to this ResourceException.
 
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
 

ResourceException

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

ResourceException

publicResourceException(java.lang.String reason)
Create a ResourceException with reason.
Parameters:
reason - a description of the exception

getErrorCode

public java.lang.StringgetErrorCode()
Get the vendor specific error code
Returns:
a string specifying the vendor specific error code

getLinkedException

public java.lang.ExceptiongetLinkedException()
Get the exception linked to this ResourceException
Returns:
linked Exception, null if none

setLinkedException

public voidsetLinkedException(java.lang.Exception ex)
Add a linked Exception to this ResourceException.
Parameters:
ex - linked Exception

         


[8]ページ先頭

©2009-2025 Movatter.jp