Class RollbackException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RollbackException
    extends java.lang.Exception
    RollbackException exception is thrown when the transaction has been marked for rollback only or the transaction has been rolled back instead of committed. This is a local exception thrown by methods in the UserTransaction, Transaction, and TransactionManager interfaces.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Specify serialVersionUID for backward compatibility
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Specify serialVersionUID for backward compatibility
        See Also:
        Constant Field Values
    • Constructor Detail

      • RollbackException

        public RollbackException()
      • RollbackException

        public RollbackException​(java.lang.String msg)