SQLSyntaxErrorException

public class SQLSyntaxErrorException extends SQLNonTransientException

The subclass of SQLException thrown when the SQLState class value is '42', or under vendor-specified conditions. This indicates that the in-progress query has violated SQL syntax rules.

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

Public Constructor Summary

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

Inherited Method Summary