Package oracle.jdbc
Interface ErrorSet
public interface ErrorSet
An immutable set of Oracle error references.
- Since:
- 23
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(SQLException sqlException) Returnstrueif this set contains the error identified by the specifiedsqlException.
-
Field Details
-
ALL_ERRORS
The set which contains all errors -
NO_ERRORS
The set which contains no errors
-
-
Method Details
-
contains
Returnstrueif this set contains the error identified by the specifiedsqlException.- Parameters:
sqlException- A SQL exception which identifies an error. Not null.- Returns:
- True if the identified error is contained in this set, otherwise false.
- Throws:
NullPointerException- if thesqlExceptionis null.
-