Package org.apache.torque
Class DeadlockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.torque.TorqueException
org.apache.torque.DeadlockException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
This exception is thrown if the database detects a deadlock.
- Version:
- $Id: DeadlockException.java 1448414 2013-02-20 21:06:35Z tfischer $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeadlockException(String msg, Throwable nested) Constructs a newDeadlockExceptionwith specified detail message and nestedThrowable.DeadlockException(Throwable nested) Constructs a newDeadlockExceptionwith specified nestedThrowable. -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DeadlockException
Constructs a newDeadlockExceptionwith specified nestedThrowable.- Parameters:
nested- the exception or error that caused this exception to be thrown.
-
DeadlockException
Constructs a newDeadlockExceptionwith specified detail message and nestedThrowable.- Parameters:
msg- the error message.nested- the exception or error that caused this exception to be thrown.
-