Package oracle.jdbc
Interface ErrorSet
-
public interface ErrorSet
An immutable set of Oracle error references.- Since:
- 23
-
-
Field Summary
Fields Modifier and Type Field Description static ErrorSet
ALL_ERRORS
The set which contains all errorsstatic ErrorSet
NO_ERRORS
The set which contains no errors
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
contains(java.sql.SQLException sqlException)
Returnstrue
if this set contains the error identified by the specifiedsqlException
.
-
-
-
Method Detail
-
contains
boolean contains(java.sql.SQLException sqlException)
Returnstrue
if 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:
java.lang.NullPointerException
- if thesqlException
is null.
-
-