- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.transaction;
-
- /**
- * The SystemException is thrown by the transaction manager to
- * indicate that it has encountered an unexpected error condition
- * that prevents future transaction services from proceeding.
- */
- public class SystemException extends java.lang.Exception {
-
-
- /**
- * The error code to create the SystemException with
- *
- * @serial The error code for the exception
- */
- public int errorCode;
-
- public SystemException()
- {
- super();
- }
-
- /**
- * Create an SystemException with a given string.
- *
- * @param s The string message for the exception
- */
- public SystemException(String s)
- {
- super(s);
- }
-
- /**
- * Create an SystemException with a given error code.
- *
- * @param errCode The error code for the exception
- */
- public SystemException(int errcode)
- {
- super();
- errorCode = errcode;
- }
-
-
- }