public class RollbackException extends PersistenceException
EntityTransaction.commit()
fails.EntityTransaction.commit()
,
Serialized FormConstructor and Description |
---|
RollbackException()
Constructs a new
RollbackException exception
with null as its detail message. |
RollbackException(String message)
Constructs a new
RollbackException exception
with the specified detail message. |
RollbackException(String message,
Throwable cause)
Constructs a new
RollbackException exception
with the specified detail message and cause. |
RollbackException(Throwable cause)
Constructs a new
RollbackException exception
with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RollbackException()
RollbackException
exception
with null
as its detail message.public RollbackException(String message)
RollbackException
exception
with the specified detail message.message
- the detail message.public RollbackException(String message, Throwable cause)
RollbackException
exception
with the specified detail message and cause.message
- the detail message.cause
- the cause.public RollbackException(Throwable cause)
RollbackException
exception
with the specified cause.cause
- the cause.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.