Called when creating an instance of a generic
DataAccessException class.
Parameters: task - readable text describing the task being attempted Parameters: sql - the SQL statement that caused the problem.
Build a message String for the given
SQLException .
Called when creating an instance of a generic
DataAccessException class.
Parameters: task - readable text describing the task being attempted Parameters: sql - the SQL statement that caused the problem. May be null. Parameters: ex - the offending SQLException the message String to use