org.openanzo.common.exceptions
Class AnzoAxisFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.apache.axis.AxisFault
                      extended by org.openanzo.common.exceptions.AnzoAxisFault
All Implemented Interfaces:
java.io.Serializable

public class AnzoAxisFault
extends org.apache.axis.AxisFault

Axis fault that encapsulates an AnzoException

Author:
Matthew Roy ( mroy@cambridgesemantics.com )
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
AnzoAxisFault(AnzoException anzoException)
          Create AnzoAxisFault based on errorcodes and arguments within exception
AnzoAxisFault(AnzoRuntimeException runtimeException)
          Create AnzoAxisFault based on errorcodes and arguments within exception
AnzoAxisFault(int errorCode, int errorSubCode, java.lang.String... errorArgs)
          Create new AnzoAxisFault based on provided arguments
 
Method Summary
 
Methods inherited from class org.apache.axis.AxisFault
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString, writeDetails
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnzoAxisFault

public AnzoAxisFault(int errorCode,
                     int errorSubCode,
                     java.lang.String... errorArgs)
Create new AnzoAxisFault based on provided arguments

Parameters:
errorCode - Major error code for exception
errorSubCode - Minor error code for exception
errorArgs - Arguments to exception

AnzoAxisFault

public AnzoAxisFault(AnzoRuntimeException runtimeException)
Create AnzoAxisFault based on errorcodes and arguments within exception

Parameters:
runtimeException - AnzoRuntimeException used to create fault

AnzoAxisFault

public AnzoAxisFault(AnzoException anzoException)
Create AnzoAxisFault based on errorcodes and arguments within exception

Parameters:
anzoException - AnzoException used to create fault


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.