Package org.apache.torque.util

# Klasse ExceptionMapperImpl

java.lang.Object
org.apache.torque.util.ExceptionMapper
org.apache.torque.util.ExceptionMapperImpl

public class ExceptionMapperImpl extends ExceptionMapper
Default implementation of the ExceptionMapper interface.

Version:
  $Id: ExceptionMapperImpl.java 1917245 2024-04-21 14:06:23Z tv $

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `ExceptionMapperImpl()`

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `TorqueException`
  `toTorqueException(SQLException sqlException)`
  Maps a SQLException to an appropriate TorqueException.

  ### Von Klasse geerbte Methoden org.apache.torque.util.ExceptionMapper

  `getInstance, setInstance`

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

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

- ## Konstruktordetails

  - ### ExceptionMapperImpl

    public ExceptionMapperImpl()

- ## Methodendetails

  - ### toTorqueException

    public TorqueException toTorqueException(SQLException sqlException)
    Beschreibung aus Klasse kopiert: `ExceptionMapper`
    Maps a SQLException to an appropriate TorqueException.
    Angegeben von:
      `toTorqueException` in Klasse `ExceptionMapper`
    Parameter:
      `sqlException` - the sqlException to map, not null.
    Gibt zurück:
      the maped TorqueException, containing the original exception as a cause, not null.