public class DataAccessException
extends java.lang.RuntimeException
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 DataAccessExceptionConstructor and Description |
---|
DataAccessException(java.lang.String message)
Constructor for DataAccessException.
|
DataAccessException(java.lang.String message,
java.lang.Throwable cause)
Constructor for DataAccessException.
|
public DataAccessException(java.lang.String message)
message
- the detail messagepublic DataAccessException(java.lang.String message, java.lang.Throwable cause)
message
- the detail messagecause
- the root cause (usually from using a underlying data access
API such as JDBC)Copyright © 2015. All Rights Reserved.