- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.resource.spi;
-
- /** ResourceAdapterInternalException indicates any system-level error
- * conditions related to a resource adapter. The common conditions indicated
- * by this exception type are:
- * <UL>
- * <LI>invalid configuration for creation of a new physical connection. An
- example is invalid server name for a target EIS instance.
- * <LI>failure to create a physical connection to a EIS instance due to
- * communication protocol error or any resource adapter implementation
- * specific error.
- * <LI>error conditions internal to resource adapter implementation.
- * </UL>
- * @version 0.7
- * @author Rahul Sharma
- */
-
- public class ResourceAdapterInternalException extends javax.resource.ResourceException {
-
- /**
- * Create a ResourceAdapterInternalException.
- *
- * @param reason a description of the exception
- * @param errorCode a string specifying the vendor specific
- * error code
- **/
- public
- ResourceAdapterInternalException(String reason, String errorCode) {
- super(reason, errorCode);
- }
-
- /**
- * Create a SecurityException with reason.
- *
- * @param reason a description of the exception
- **/
- public
- ResourceAdapterInternalException(String reason) {
- super(reason);
- }
- }