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 EISSystemException is used to indicate any EIS specific system-level
  7. * error conditions. The common error conditions are: failure or inactivity of
  8. * an EIS instance, communication failure and EIS specific error in the
  9. * creation of a new physical connection.
  10. *
  11. * @version 0.7
  12. * @author Rahul Sharma
  13. */
  14. public class EISSystemException extends javax.resource.ResourceException {
  15. /**
  16. * Create an EISSystemException.
  17. *
  18. * @param reason a description of the exception
  19. * @param errorCode a string specifying the vendor specific
  20. * error code
  21. **/
  22. public
  23. EISSystemException(String reason, String errorCode) {
  24. super(reason, errorCode);
  25. }
  26. /**
  27. * Create an EISSystemException with reason.
  28. *
  29. * @param reason a description of the exception
  30. **/
  31. public
  32. EISSystemException(String reason) {
  33. super(reason);
  34. }
  35. }