|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-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.admin.api.ws.client.AdminAPIRuntimeFault_Exception
public class AdminAPIRuntimeFault_Exception
An exception for unexpected errors. For example, if the search repository cannot be accessed, then an AdminAPIRuntimeFault_Exception
is raised.
Detailed information on the error is accessed through the associated Fault:
... catch (AdminAPIRuntimeFault_Exception e) { AdminAPIRuntimeFault faultInfo = e.getFaultInfo(); int errorCode = faultInfo.getErrorCode(); String message = faultInfo.getMessage(); System.out.println( "Caught unexpected error: " + errorCode + " - " + message ); }
Errors represented by an AdminAPIRuntimeFault_Exception
are typically caused by an unexpected exception during runtime, such as a java.lang.RuntimeException
. Information on the cause should be accessed through the associated Fault instead of the getCause
method in java.lang.Exception
.
AdminAPIRuntimeFault
, Serialized FormMethod Summary | |
---|---|
AdminAPIRuntimeFault |
getFaultInfo() Returns the associated Fault. |
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 |
Method Detail |
---|
public AdminAPIRuntimeFault getFaultInfo()
soapenv:Fault
element in the SOAP message.
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |