站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

NotSupportedException (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.transaction
Class NotSupportedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.transaction.NotSupportedException
All Implemented Interfaces:
Serializable

public class NotSupportedException
extends Exception

The NotSupportedException exception indicates that an operation is not supported. For example, the 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.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
NotSupportedException()
          Creates a new NotSupportedException without a detail message.
NotSupportedException(String msg)
          Constructs an NotSupportedException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotSupportedException

public NotSupportedException()
Creates a new NotSupportedException without a detail message.


NotSupportedException

public NotSupportedException(String msg)
Constructs an NotSupportedException with the specified detail message.

Parameters:
msg - the detail message.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.