- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.resource.spi;
-
- /**An CommException indicates errors related to failed or interrupted
- * communication with an EIS instance. . Examples of common error conditions
- * represented by this exception type include: communication protocol error,
- * invalidated connection due to server failure.
- *
- * @version 0.7
- * @author Rahul Sharma
- */
-
- public class CommException extends javax.resource.ResourceException {
-
- /**
- * Create a CommException.
- *
- * @param reason a description of the exception
- * @param errorCode a string specifying the vendor specific
- * error code
- **/
- public
- CommException(String reason, String errorCode) {
- super(reason, errorCode);
- }
-
- /**
- * Create a CommException with a reason.
- *
- * @param reason a description of the exception
- **/
- public
- CommException(String reason) {
- super(reason);
- }
- }