Package jakarta.ejb

Class EJBTransactionRolledbackException

  • All Implemented Interfaces:
    Serializable

    public class EJBTransactionRolledbackException
    extends EJBException
    This exception is thrown to a caller of bean business method to indicate that the transaction associated with processing of the request has been rolled back, or marked to roll back. Thus the requested operation either could not be performed or was not performed because further computation on behalf of the transaction would be fruitless.
    Since:
    EJB 2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • EJBTransactionRolledbackException

        public EJBTransactionRolledbackException()
        Constructs an EJBTransactionRolledbackException with no detail message.
      • EJBTransactionRolledbackException

        public EJBTransactionRolledbackException​(String message)
        Constructs an EJBTransactionRolledbackException with the specified detailed message.
        Parameters:
        message - a String object.
      • EJBTransactionRolledbackException

        public EJBTransactionRolledbackException​(String message,
                                                 Exception ex)
        Constructs an EJBTransactionRolledbackException with the specified detail message and a nested exception.
        Parameters:
        message - a String object.
        ex - a Exception object.