org.apache.oodt.commons.util
Class XMLRPCFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.oodt.commons.util.XMLRPCFault
All Implemented Interfaces:
Serializable

public class XMLRPCFault
extends Exception

XML-RPC fault. This exception is thrown when a fault is returned from an XML-RPC call.

Author:
Kelly
See Also:
Serialized Form

Constructor Summary
XMLRPCFault(int code, String string)
          Constructor.
 
Method Summary
 int getCode()
          Get the fault code.
 String getString()
          Get the fault string.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLRPCFault

public XMLRPCFault(int code,
                   String string)
Constructor.

Parameters:
code - Fault code.
string - Fault string.
Method Detail

getCode

public int getCode()
Get the fault code.

Returns:
The fault code.

getString

public String getString()
Get the fault string.

Returns:
The fault string.


Copyright © 1999-2013
Apache OODT. All Rights Reserved.