NotSupportedException (Java(TM) EE 8 Specification APIs)
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.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.)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NotSupportedException()NotSupportedException(String msg)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotSupportedException
public NotSupportedException()
-
NotSupportedException
public NotSupportedException(String msg)
-
-
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.