- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.resource.spi;
-
- /**A ResourceAllocationException can be thrown by an application server or
- * resource adapter to indicate any failure to allocate system resources
- * (example: threads, physical connections). An example is error condition
- * when an upper bound is reached on the maximum number of physical
- * connections that can be managed by an application server specific
- * connection pool.
-
- * @version 0.7
- * @author Rahul Sharma
- */
-
- public class ResourceAllocationException extends javax.resource.ResourceException {
-
- /**
- * Create a ResourceAllocationException.
- *
- * @param reason a description of the exception
- * @param errorCode a string specifying the vendor specific
- * error code
- **/
- public
- ResourceAllocationException(String reason, String errorCode) {
- super(reason, errorCode);
- }
-
- /**
- * Create a ResourceAllocationException with reason.
- *
- * @param reason a description of the exception
- **/
- public
- ResourceAllocationException(String reason) {
- super(reason);
- }
- }