Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.transaction
Class NotSupportedException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              javax.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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