org.edg.data.util.attribute
Class InvalidQueryException

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

public final class InvalidQueryException
extends FaultableException

A SOAP Exception for when the query is invalid

Version:
$Id: InvalidQueryException.java,v 1.2 2003/09/24 08:55:02 slemaitr Exp $
Author:
James Casey
See Also:
Serialized Form

Constructor Summary
InvalidQueryException(java.lang.String query, java.lang.String reason)
          Constructs an InvalidQueryException 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 getReason()
           
 
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

InvalidQueryException

public InvalidQueryException(java.lang.String query,
                             java.lang.String reason)
Constructs an InvalidQueryException with the specified detail message.

Parameters:
query - the query
reason - the reason
Method Detail

getReason

public java.lang.String getReason()

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()