Class ExceptionMapperImpl


  • public class ExceptionMapperImpl
    extends ExceptionMapper
    Default implementation of the ExceptionMapper interface.
    Version:
    $Id: ExceptionMapperImpl.java 1867515 2019-09-25 15:02:03Z gk $
    • 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.