public class ExceptionMapperImpl extends ExceptionMapper
Constructor and Description |
---|
ExceptionMapperImpl() |
Modifier and Type | Method and Description |
---|---|
TorqueException |
toTorqueException(SQLException sqlException)
Maps a SQLException to an appropriate TorqueException.
|
getInstance, setInstance
public TorqueException toTorqueException(SQLException sqlException)
ExceptionMapper
toTorqueException
in class ExceptionMapper
sqlException
- the sqlException to map, not null.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.