1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.resource.spi;
  6. /**An ApplicationServerInternalException is thrown by an application
  7. * server to indicate error conditions specific to an application server.
  8. * These error conditions can be related to either configuration related
  9. * errors or implementation of mechanisms internal to an application server
  10. * (example: connection pooling, thread management).
  11. *
  12. * @version 0.7
  13. * @author Rahul Sharma
  14. */
  15. public class ApplicationServerInternalException
  16. extends javax.resource.ResourceException {
  17. /**
  18. * Create an ApplicationServerInternalException.
  19. *
  20. * @param reason a description of the exception
  21. * @param errorCode a string specifying the vendor specific
  22. * error code
  23. **/
  24. public
  25. ApplicationServerInternalException(String reason, String errorCode) {
  26. super(reason, errorCode);
  27. }
  28. /**
  29. * Create an ApplicationServerInternalException with reason.
  30. *
  31. * @param reason a description of the exception
  32. **/
  33. public
  34. ApplicationServerInternalException(String reason) {
  35. super(reason);
  36. }
  37. }