Class TorqueException

All Implemented Interfaces:
Serializable, Iterable<Throwable>
Direct Known Subclasses:
ConstraintViolationException, DeadlockException, NoRowsException, OptimisticLockingFailedException, TooManyRowsException

public class TorqueException extends SQLException
The base class of all checked exceptions thrown by Torque.
Version:
$Id: TorqueException.java 1839304 2018-08-27 12:19:46Z tv $
Author:
Daniel Rall, Jason van Zyl
See Also:
  • Constructor Details

    • TorqueException

      public TorqueException()
      Constructs a new TorqueException without specified detail message.
    • TorqueException

      public TorqueException(String msg)
      Constructs a new TorqueException with specified detail message.
      Parameters:
      msg - the error message.
    • TorqueException

      public TorqueException(Throwable nested)
      Constructs a new TorqueException with specified nested Throwable.
      Parameters:
      nested - the exception or error that caused this exception to be thrown.
    • TorqueException

      public TorqueException(String msg, Throwable nested)
      Constructs a new TorqueException with specified detail message and nested Throwable.
      Parameters:
      msg - the error message.
      nested - the exception or error that caused this exception to be thrown.