站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

SystemException (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

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

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 errorCode
          The error code with which to create the SystemException.
 
Constructor Summary
SystemException()
           
SystemException(int errcode)
          Create a SystemException with a given error code.
SystemException(String s)
          Create a SystemException with a given string.
 
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 with which to create the SystemException.

Constructor Detail

SystemException

public SystemException()

SystemException

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

Parameters:
s - The string message for the exception

SystemException

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

Parameters:
errcode - The error code for the exception

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.