- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- javax.transaction.InvalidTransactionException
-
- All Implemented Interfaces:
-
Serializable
public class InvalidTransactionException extends RemoteException
此异常表示请求携带无效的事务上下文。 例如,如果尝试注册资源时发生错误,则可能会引发此异常。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.RemoteException
detail
-
-
构造方法摘要
构造方法 Constructor 描述 InvalidTransactionException()
构造一个InvalidTransactionException
。InvalidTransactionException(String msg)
构造一个InvalidTransactionException
。
-
方法摘要
-
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
-
-
-
-
构造方法详细信息
-
InvalidTransactionException
public InvalidTransactionException()
构造一个InvalidTransactionException
。
-
InvalidTransactionException
public InvalidTransactionException(String msg)
构造一个InvalidTransactionException
。- 参数
-
msg
- 详细信息
-
-