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