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 InvalidStateFault_Exception

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

All Implemented Interfaces:
Serializable

public class InvalidStateFault_Exception
extends Exception

An exception for state errors. For example, if an attempt is made to delete an executing schedule, then an InvalidStateFault_Exception is raised, because the state of the schedule is invalid for deletion.

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

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

Method Summary
 InvalidStateFault 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 InvalidStateFault 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.