public class NotSupportedException
extends java.lang.Exception
TransactionManager.begin()
and
UserTransaction.begin()
methods throw this exception if the
calling thread is already associated with a transaction, and nested
transactions are not supported.Constructor and Description |
---|
NotSupportedException()
Creates a new
NotSupportedException without a
detail message. |
NotSupportedException(java.lang.String msg)
Constructs an
NotSupportedException with the specified
detail message. |
public NotSupportedException()
NotSupportedException
without a
detail message.public NotSupportedException(java.lang.String msg)
NotSupportedException
with the specified
detail message.msg
- the detail message.