|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.2.2.0) E35072-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.search.sdk.crawler.DocumentServiceException
public class DocumentServiceException
Field Summary | |
---|---|
static int |
FATAL |
static int |
SEVERE |
static int |
UNDEFINED |
static int |
WARNING |
Constructor Summary | |
---|---|
DocumentServiceException(Exception errorException) Constructs a fatal service exception from an exception. |
|
DocumentServiceException(int severity, Exception errorException) Constructs a service exception from an exception and assigns a severity to it. |
|
DocumentServiceException(int severity, String message) Constructs a service exception from an error code. |
|
DocumentServiceException(String message) Constructs a service exception from a String. |
Method Summary | |
---|---|
String |
getErrorString() Returns the error message. |
int |
getSeverity() return severity |
boolean |
isFatalException() Checks if the exception is a fatal exception. |
boolean |
isSevereException() Checks if the exception is a severe exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int UNDEFINED
public static int FATAL
public static int SEVERE
public static int WARNING
Constructor Detail |
---|
public DocumentServiceException(Exception errorException)
public DocumentServiceException(int severity, String message)
public DocumentServiceException(int severity, Exception errorException)
public DocumentServiceException(String message)
Method Detail |
---|
public boolean isFatalException()
public boolean isSevereException()
public int getSeverity()
public String getErrorString()
|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.2.2.0) E35072-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |