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.) NotSupportedException异常表示请求不能执行因为操作不被支持。 比如,如果不支持嵌套异常,当已经与事务关联的调用线程企图开启一个新的线程, 事务管理器抛出该异常。(当线程已经与一个事务关联,试图开启第二个事务,则发生嵌套事务。)
See Also:
Serialized Form
<!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- -->