org.edg.data.util
Class FaultableException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.edg.data.util.FaultableException
All Implemented Interfaces:
Faultable, java.io.Serializable
Direct Known Subclasses:
AttributeDefinitionExistsException, ConnectionException, EntryExistsException, InternalServerException, InvalidQueryException, NoSuchAttributeDefinitionException, NoSuchGuidException, UnappropriateAttributeTypeException, UnsupportedAttributeTypeException, ValueTooLongException

public class FaultableException
extends java.lang.Exception
implements Faultable

This is the top level data management exception which can be converted into an Axis Fault and thrown across a SOAP communication.

Version:
$Id: FaultableException.java,v 1.2 2004/05/06 17:20:50 jamesc Exp $
Author:
James Casey
See Also:
Serialized Form

Constructor Summary
FaultableException(java.lang.String message)
          Constructs an FaultableException with the specified detail message.
 
Method Summary
 org.apache.axis.AxisFault asFault()
          return this exception as an AXIS Fault
static java.lang.String faultCode()
           
protected  org.apache.axis.AxisFault makeFault(java.lang.String faultType, java.lang.String 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

FaultableException

public FaultableException(java.lang.String message)
Constructs an FaultableException with the specified detail message.

Parameters:
message - the pfn
Method Detail

asFault

public org.apache.axis.AxisFault asFault()
return this exception as an AXIS Fault

Specified by:
asFault in interface Faultable
Returns:
the fault

makeFault

protected org.apache.axis.AxisFault makeFault(java.lang.String faultType,
                                              java.lang.String string)

faultCode

public static java.lang.String faultCode()