SystemException (Java EE 5)

Java EE API


javax.transaction Class SystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.transaction.SystemException
All Implemented Interfaces:
Serializable

public class SystemException
extends Exception

Extends: Throwable > Exception

事务管理器抛出 SystemException 指示它遇到了一个不可预料的错误条件,该错误条件阻止了事务服务的继续进行。
英文文档:

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.

See Also:
Serialized Form

Field Summary
 int
 
Constructor Summary
 
Method Summary
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

errorCode

public int errorCode
The error code with which to create the SystemException.

Constructor Detail

public SystemException()
英文文档:

SystemException

public SystemException()

public SystemException(String s)
创建一个具有给定字符串的 XAException。
s 异常的字符串消息
英文文档:

SystemException

public SystemException(String s)
Create a SystemException with a given string.

Parameters:
s - The string message for the exception


public SystemException(int errcode)
创建一个具有给定错误代码的 SystemException。
errcode 该异常的错误代码
英文文档:

SystemException

public SystemException(int errcode)
Create a SystemException with a given error code.

Parameters:
errcode - The error code for the exception



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!