1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.transaction;
  6. /**
  7. * NotSupportedException exception indicates that the request cannot be
  8. * executed because the operation is not a supported feature. For example,
  9. * the Transaction Manager throws this exception when a calling thread
  10. * attempts to start a new transaction when the thread is already
  11. * associated with a transaction because nested transaction is not
  12. * supported.
  13. */
  14. public class NotSupportedException extends java.lang.Exception
  15. {
  16. public NotSupportedException()
  17. {
  18. super();
  19. }
  20. public NotSupportedException(String msg)
  21. {
  22. super(msg);
  23. }
  24. }