站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

SystemException (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.transaction
Class SystemException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.transaction.SystemException
All Implemented Interfaces:
Serializable

public class SystemException
extends Exception

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: 1.3 $
See Also:
Serialized Form

Field Summary
 int errorCode
          The error code of this exception.
 
Constructor Summary
SystemException()
          Creates a new SystemException without a detail message.
SystemException(int errcode)
          Constructs an SystemException with the specified detail message.
SystemException(String msg)
          Constructs an SystemException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorCode

public int errorCode
The error code of this exception. Values of this field are not specified by JTA.

Constructor Detail

SystemException

public SystemException()
Creates a new SystemException without a detail message.


SystemException

public SystemException(String msg)
Constructs an SystemException with the specified detail message.

Parameters:
msg - the detail message.

SystemException

public SystemException(int errcode)
Constructs an SystemException with the specified detail message.

Parameters:
errcode - the error code for the exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.