Module java.sql
Package java.sql

Class SQLSyntaxErrorException

java.lang.Object
All Implemented Interfaces:
Serializable, Iterable<Throwable>

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.

Since:
1.6
See Also: