Class TransactionFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osid.OsidException
org.osid.OperationalException
org.osid.TransactionFailureException
- All Implemented Interfaces:
Serializable
An error occurred within a transactional element while committing a
transaction. It isn't known what transactional element caused the failure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aTransactionFailureExceptionwith the specified detail message.Constructs aTransactionFailureExceptionwith the specified detail message and cause.Constructs aTransactionFailureExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionFailureException
-
TransactionFailureException
Constructs aTransactionFailureExceptionwith the specified detail message and cause. The error message stringmsgcan later be retrieved by the getMessage() method ofThrowable.- Parameters:
msg- the error messaget- the cause of the exception
-
TransactionFailureException
Constructs aTransactionFailureExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause.- Parameters:
t- the cause of the exception
-