|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-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.PluginException
This encapsulates information about a data source plugin-specific error.
Field Summary | |
static int |
FATAL |
protected int |
m_errorCode |
protected java.lang.Exception |
m_errorException |
protected java.lang.String |
m_errorString |
static int |
UNDEFINED |
static int |
WARNING |
Constructor Summary | |
PluginException(java.lang.Exception errorException) Constructs an PluginExcception from an exception. |
|
PluginException(int severity, java.lang.String message) Constructs an PluginException from an error code. |
|
PluginException(java.lang.String message) Constructs an PluginException from a string |
Method Summary | |
java.lang.String |
getErrorString() returns the error message |
protected java.lang.String |
getErrorString(int errorCode, java.lang.String arg1) returns the error message based on the error code |
boolean |
isFatalException() Checks if the exception is a fatal exception |
java.lang.String |
toString() returns the error message |
java.lang.String |
toString(java.lang.String arg1) |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNDEFINED
public static final int FATAL
public static final int WARNING
protected int m_errorCode
protected java.lang.String m_errorString
protected java.lang.Exception m_errorException
Constructor Detail |
public PluginException(java.lang.String message)
message
- is the exception messagepublic PluginException(int severity, java.lang.String message)
severity
- severity of the exception: FATAL or WARNINGmessage
- the exception messagepublic PluginException(java.lang.Exception errorException)
errorException
- the cause of the plugin exceptionMethod Detail |
public java.lang.String getErrorString()
public java.lang.String toString()
public java.lang.String toString(java.lang.String arg1)
public boolean isFatalException()
protected java.lang.String getErrorString(int errorCode, java.lang.String arg1)
errorCode
- the crawler error codearg1
- argument of the message
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |