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

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


javax.resource.spi
Class LocalTransactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException
              extended byjavax.resource.spi.LocalTransactionException
All Implemented Interfaces:
Serializable

public class LocalTransactionException
extends ResourceException

A LocalTransactionException represents various error conditions related to local transaction management. Common error conditions which are indicated by this exception include failure to commit, attempt to start a transaction while inside a transaction, or any resource adapter transaction related error condition.

See Also:
Serialized Form

Constructor Summary
LocalTransactionException()
          Create an exception.
LocalTransactionException(String reason)
          Create an exception with a reason.
LocalTransactionException(String reason, String errorCode)
          Create an exception with a reason and an errorCode.
LocalTransactionException(String reason, Throwable cause)
          Create an exception with a reason and cause.
LocalTransactionException(Throwable cause)
          Create an exception with a cause.
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setErrorCode, setLinkedException
 
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
 

Constructor Detail

LocalTransactionException

public LocalTransactionException()
Create an exception.


LocalTransactionException

public LocalTransactionException(String reason)
Create an exception with a reason.


LocalTransactionException

public LocalTransactionException(String reason,
                                 String errorCode)
Create an exception with a reason and an errorCode.


LocalTransactionException

public LocalTransactionException(String reason,
                                 Throwable cause)
Create an exception with a reason and cause.

Parameters:
reason - the reason
cause - the cause

LocalTransactionException

public LocalTransactionException(Throwable cause)
Create an exception with a cause.

Parameters:
cause - the cause


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