SQLDataException

public class SQLDataException extends SQLNonTransientException

The subclass of SQLException thrown when the SQLState class value is '22', or under vendor-specified conditions. This indicates various data errors, including but not limited to data conversion errors, division by 0, and invalid arguments to functions.

Please consult your driver vendor documentation for the vendor-specified conditions for which this Exception may be thrown.

Public Constructor Summary

SQLDataException()
Constructs a SQLDataException object.
SQLDataException(String reason)
Constructs a SQLDataException object with a given reason.
SQLDataException(String reason, String SQLState)
Constructs a SQLDataException object with a given reason and SQLState.
SQLDataException(String reason, String SQLState, int vendorCode)
Constructs a SQLDataException object with a given reason, SQLState and vendorCode.
SQLDataException(Throwable cause)
Constructs a SQLDataException object with a given cause.
SQLDataException(String reason, Throwable cause)
Constructs a SQLDataException object with a given reason and cause.
SQLDataException(String reason, String SQLState, Throwable cause)
Constructs a SQLDataException object with a given reason, SQLState and cause.
SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause)
Constructs a SQLDataException object with a given reason, SQLState, vendorCode and cause.

Inherited Method Summary