Name
ResourceException
Synopsis
This is the base class for all exceptions in the Java Connector API.
The ResourceException
includes a string message describing the error,
a vendor-specific error code, and a reference to a nested exception.
public class ResourceException extends Exception { // Public Constructors public ResourceException( String reason); public ResourceException(String reason, String errorCode); // Public Instance Methods public String getErrorCode(); public Exception getLinkedException(); public void setLinkedException( Exception ex); }
Subclasses
javax.resource.NotSupportedException
, javax.resource.cci.ResourceWarning
, javax.resource.spi.ApplicationServerInternalException
, javax.resource.spi.CommException
, javax.resource.spi.EISSystemException
, javax.resource.spi.IllegalStateException
, javax.resource.spi.LocalTransactionException
, javax.resource.spi.ResourceAdapterInternalException
, javax.resource.spi.ResourceAllocationException
, javax.resource.spi.SecurityException
Thrown By
Too many methods to list.
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.