Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.torque.util
Class 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 1448414 2013-02-20 21:06:35Z tfischer $

Constructor Summary
`ExceptionMapperImpl()`

Method Summary
`TorqueException` | `toTorqueException(SQLException sqlException)` Maps a SQLException to an appropriate TorqueException.

Methods inherited from class org.apache.torque.util.ExceptionMapper
`getInstance, setInstance`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ExceptionMapperImpl

    public ExceptionMapperImpl()

Method Detail

### toTorqueException

    public TorqueException toTorqueException(SQLException sqlException)

  Description copied from class: `ExceptionMapper`
  Maps a SQLException to an appropriate TorqueException.

  Specified by:
    `toTorqueException` in class `ExceptionMapper`
  Parameters:
    `sqlException` - the sqlException to map, not null.
  Returns:
    the maped TorqueException, containing the original exception as a cause, not null.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.