You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
46 lines
1.0 KiB
package com.fr.third.javax.transaction; |
|
|
|
/** |
|
* This exception is thrown to indicate that the transaction manager has |
|
* encountered an unexpected error condition that prevents future |
|
* transaction services from proceeding. |
|
* |
|
* @version $Revision$ |
|
*/ |
|
public class SystemException extends Exception |
|
{ |
|
/** |
|
* The error code of this exception. Values of this field are not |
|
* specified by JTA. |
|
*/ |
|
public int errorCode; |
|
|
|
/** |
|
* Creates a new <code>SystemException</code> without a detail message. |
|
*/ |
|
public SystemException() |
|
{ |
|
} |
|
|
|
/** |
|
* Constructs an <code>SystemException</code> with the specified |
|
* detail message. |
|
* |
|
* @param msg the detail message. |
|
*/ |
|
public SystemException(String msg) |
|
{ |
|
super(msg); |
|
} |
|
|
|
/** |
|
* Constructs an <code>SystemException</code> with the specified |
|
* detail message. |
|
* |
|
* @param errcode the error code for the exception |
|
*/ |
|
public SystemException(int errcode) |
|
{ |
|
this.errorCode = errcode; |
|
} |
|
}
|
|
|