Package org.apache.torque

# Klasse TorqueException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.torque.TorqueException

Alle implementierten Schnittstellen:
  `Serializable`, `Iterable<Throwable>`

Bekannte direkte Unterklassen:
  `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 $
Autor:
  Daniel Rall, Jason van Zyl
Siehe auch:
  - Serialisierte Form

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `TorqueException()`
  Constructs a new `TorqueException` without specified detail message.
  `TorqueException(String msg)`
  Constructs a new `TorqueException` with specified detail message.
  `TorqueException(String msg, Throwable nested)`
  Constructs a new `TorqueException` with specified detail message and nested `Throwable`.
  `TorqueException(Throwable nested)`
  Constructs a new `TorqueException` with specified nested `Throwable`.

- ## Methodenübersicht

  ### Von Klasse geerbte Methoden java.sql.SQLException

  `getErrorCode, getNextException, getSQLState, iterator, setNextException`

  ### Von Klasse geerbte Methoden java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Von Schnittstelle geerbte Methoden java.lang.Iterable

  `forEach, spliterator`

- ## Konstruktordetails

  - ### TorqueException

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

  - ### TorqueException

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

  - ### TorqueException

    public TorqueException(Throwable nested)
    Constructs a new `TorqueException` with specified nested `Throwable`.
    Parameter:
      `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`.
    Parameter:
      `msg` - the error message.
      `nested` - the exception or error that caused this exception to be thrown.