Package jakarta.transaction
Class NotSupportedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- jakarta.transaction.NotSupportedException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class NotSupportedException extends Exception NotSupportedException exception indicates that the request cannot be executed because the operation is not a supported feature. For example, because nested transactions are not supported, the Transaction Manager throws this exception when a calling thread that is already associated with a transaction attempts to start a new transaction. (A nested transaction occurs when a thread is already associated with one transaction and attempts to start a second transaction.)- Version:
- Jakarta Transactions 2.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description NotSupportedException()NotSupportedException(String msg)
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
NotSupportedExceptionpublic NotSupportedException() 
 - 
NotSupportedExceptionpublic NotSupportedException(String msg) 
 
- 
 
-