|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.2.0) E21607-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
public class PluginException
This encapsulates information about a data source plugin-specific error.
| Field Summary | |
|---|---|
static int |
FATAL |
static int |
UNDEFINED |
static int |
WARNING |
| Constructor Summary | |
|---|---|
PluginException(Exception errorException)Constructs an PluginExcception from an exception. |
|
PluginException(int severity, String message)Constructs an PluginException from an error code. |
|
PluginException(String message)Constructs an PluginException from a string |
|
| Method Summary | |
|---|---|
String |
getErrorString()returns the error message |
boolean |
isFatalException()Checks if the exception is a fatal exception |
String |
toString()returns the error message |
String |
toString(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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNDEFINED
public static final int FATAL
public static final int WARNING
| Constructor Detail |
|---|
public PluginException(String message)
message - is the exception message
public PluginException(int severity,
String message)
severity - severity of the exception: FATAL or WARNINGmessage - the exception messagepublic PluginException(Exception errorException)
errorException - the cause of the plugin exception| Method Detail |
|---|
public String getErrorString()
public String toString()
toString in class Throwablepublic String toString(String arg1)
public boolean isFatalException()
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.2.0) E21607-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||