|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8.2) E10465-01 |
||||||||||
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
Field Summary | |
static int |
FATAL |
static int |
SEVERE |
static int |
UNDEFINED |
static int |
WARNING |
Constructor Summary | |
DocumentServiceException(Exception errorException) Constructs an fatal service exception from an exception. |
|
DocumentServiceException(int severity, Exception errorException) Constructs an service exception from an exception and assign severity to it |
|
DocumentServiceException(int severity, String message) Constructs an service exception from an error code. |
|
DocumentServiceException(String message) Constructs an service exception from a string |
Method Summary | |
String |
getErrorString() returns the error message |
static int |
getMostSeverityCode(int severity1, int severity2) return the most severity code from severity1 and severity2 |
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 static int getMostSeverityCode(int severity1, int severity2)
public String getErrorString()
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8.2) E10465-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |