public class OracleIndexException
extends java.io.IOException
Constructor and Description |
---|
OracleIndexException(java.lang.String msg)
Construct a OracleIndexException with the specified detail message.
|
OracleIndexException(java.lang.String msg, java.lang.Throwable ex)
Construct a OracleIndexException with the specified detail message and nested exception.
|
Modifier and Type | Method and Description |
---|---|
<E> boolean |
contains(java.lang.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.
|
java.lang.Throwable |
getCause()
Return the nested cause, or
null if none. |
java.lang.String |
getMessage()
Return the detail message, including the message from the nested exception if there is one.
|
void |
printStackTrace(java.io.PrintStream ps)
Print the composite message and the embedded stack trace to the specified stream.
|
void |
printStackTrace(java.io.PrintWriter pw)
Print the composite message and the embedded stack trace to the specified print writer.
|
public OracleIndexException(java.lang.String msg)
msg
- the detail messagepublic OracleIndexException(java.lang.String msg, java.lang.Throwable ex)
msg
- the detail messageex
- the nested exceptionpublic <E> boolean contains(java.lang.Class<E> exClass)
exClass
- the exception class to look forpublic java.lang.Throwable getCause()
null
if none.getCause
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
ps
- the print streampublic void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
pw
- the print writerCopyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.