- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- javax.transaction.TransactionRequiredException
-
- All Implemented Interfaces:
-
Serializable
public class TransactionRequiredException extends RemoteException
此异常指示请求携带空事务上下文,但目标对象需要激活事务。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.RemoteException
detail
-
-
构造方法摘要
构造方法 Constructor 描述 TransactionRequiredException()
构造一个TransactionRequiredException
。TransactionRequiredException(String msg)
构造一个TransactionRequiredException
。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
TransactionRequiredException
public TransactionRequiredException()
构造一个TransactionRequiredException
。
-
TransactionRequiredException
public TransactionRequiredException(String msg)
构造一个TransactionRequiredException
。- 参数
-
msg
- 详细信息
-
-