org.jooq.exception
Class DataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jooq.exception.DataAccessException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DataTypeException, DetachedException, InvalidResultException, MappingException
public class DataAccessException
- extends RuntimeException
The DataAccessException
is a generic RuntimeException
indicating that something went wrong while executing a SQL statement from
jOOQ. The idea behind this unchecked exception is borrowed from Spring's
JDBC's DataAccessException
- Author:
- Sergey Epik - Merged into jOOQ from Spring JDBC Support, Lukas Eder
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DataAccessException
public DataAccessException(String message)
- Constructor for DataAccessException.
- Parameters:
message
- the detail message
DataAccessException
public DataAccessException(String message,
Throwable cause)
- Constructor for DataAccessException.
- Parameters:
message
- the detail messagecause
- the root cause (usually from using a underlying data access
API such as JDBC)
Copyright © 2012. All Rights Reserved.