Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


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

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

All Implemented Interfaces:
Serializable

public class CreatableAdminObjectFault_Exception
extends Exception

An exception for errors that only apply to creatable objects. For example, if an attempt is made to delete a creatable object that does not exist, then a CreatableAdminObjectFault_Exception is raised. This error does not apply to universal objects.

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

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

Method Summary
 CreatableAdminObjectFault 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 CreatableAdminObjectFault 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 1 (11.1.2.0.0)

E14433-02


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