Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 2 (11.2.1.0.0)

E17597-02


oracle.search.admin.api.ws.client
Class DependentObjectFault_Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.search.admin.api.ws.client.DependentObjectFault_Exception

All Implemented Interfaces:
Serializable

public class DependentObjectFault_Exception
extends Exception

An exception for errors relating to dependent objects. For example, if an attempt is made to create a schedule and the assigned sources list contains a data source that does not exist, then a DependentObjectFault_Exception is raised, because the schedule depends on the data source.

Detailed information on the error is accessed through the associated Fault:

   ...
   catch (DependentObjectFault_Exception e)
   {
     DependentObjectFault faultInfo = e.getFaultInfo();
     int errorCode = faultInfo.getErrorCode();
     String message = faultInfo.getMessage();
     System.out.println( "Caught dependent object error: " + errorCode + " - " + message );
   }
 
See Also:
DependentObjectFault, Serialized Form

Method Summary
 DependentObjectFault 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

getFaultInfo

public DependentObjectFault getFaultInfo()
Returns the associated Fault. The Fault contains more detailed information, such as the error code and error message, and corresponds to the soapenv:Fault element in the SOAP message.
Returns:
The associated Fault.

Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 2 (11.2.1.0.0)

E17597-02


Copyright © 2006, 2011, Oracle and/or its affiliates. All rights reserved.