NotSupportedException (Java EE 5)

Java EE API


javax.transaction Class NotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.transaction.NotSupportedException
All Implemented Interfaces:
Serializable

public class NotSupportedException
extends Exception

Extends: Throwable > Exception

NotSupportedException 异常指示不能执行请求,因为该操作不是一个受支持的功能。例如,因为嵌套事务不受支持,所以,当与某个事务关联的调用线程试图启动一个新事务时,Transaction Manager 将抛出此异常。(当与一个事务关联的线程试图启动第二个事务时,就会发生嵌套事务)。
英文文档:

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
 
Method Summary
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public NotSupportedException()
英文文档:

NotSupportedException

public NotSupportedException()

public NotSupportedException(String msg)
英文文档:

NotSupportedException

public NotSupportedException(String msg)


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!