org.edg.data.util.attribute
Class UnappropriateAttributeTypeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.edg.data.util.FaultableException
                    |
                    +--org.edg.data.util.attribute.UnappropriateAttributeTypeException
All Implemented Interfaces:
Faultable, java.io.Serializable

public final class UnappropriateAttributeTypeException
extends FaultableException

Version:
$Id: UnappropriateAttributeTypeException.java,v 1.1 2003/09/06 14:43:26 jamesc Exp $
Author:
James Casey, Sophie Lemaitre
See Also:
Serialized Form

Constructor Summary
UnappropriateAttributeTypeException(java.lang.String attrName, java.lang.String attrType)
          Constructs an UnappropriateAttributeTypeException with the specified detail message.
 
Method Summary
 org.apache.axis.AxisFault asFault()
          return this exception as an AXIS Fault
static java.lang.String faultCode()
           
 java.lang.String getAttrName()
           
 java.lang.String getAttrType()
           
 
Methods inherited from class org.edg.data.util.FaultableException
makeFault
 
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

UnappropriateAttributeTypeException

public UnappropriateAttributeTypeException(java.lang.String attrName,
                                           java.lang.String attrType)
Constructs an UnappropriateAttributeTypeException with the specified detail message.

Parameters:
attrName - the attribute name
Method Detail

getAttrType

public java.lang.String getAttrType()

getAttrName

public java.lang.String getAttrName()

asFault

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

Specified by:
asFault in interface Faultable
Overrides:
asFault in class FaultableException
Returns:
the fault

faultCode

public static java.lang.String faultCode()