public class OracleIndexException extends IOException
| Constructor and Description |
|---|
OracleIndexException(String msg)
Construct a OracleIndexException with the specified detail message.
|
OracleIndexException(String msg, Throwable ex)
Construct a OracleIndexException with the specified detail message and nested exception.
|
| Modifier and Type | Method and Description |
|---|---|
<E> boolean |
contains(Class<E> exClass)
Check whether this exception contains an exception of the given class: either it is of the given class itself or it contains a nested cause of the given class.
|
Throwable |
getCause()
Return the nested cause, or
null if none. |
String |
getMessage()
Return the detail message, including the message from the nested exception if there is one.
|
void |
printStackTrace(PrintStream ps)
Print the composite message and the embedded stack trace to the specified stream.
|
void |
printStackTrace(PrintWriter pw)
Print the composite message and the embedded stack trace to the specified print writer.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic OracleIndexException(String msg)
msg - the detail messagepublic <E> boolean contains(Class<E> exClass)
exClass - the exception class to look forpublic Throwable getCause()
null if none.public String getMessage()
getMessage in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwableps - the print streampublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepw - the print writerCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.