org.sixdml.exceptions
Class InvalidQueryException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sixdml.exceptions.SixdmlException
                    |
                    +--org.sixdml.exceptions.InvalidQueryException
All Implemented Interfaces:
Serializable

public class InvalidQueryException
extends SixdmlException

  
 InvalidQueryException.java

 This is thrown when an attempt is made to query a collection or document with an invalid query. 

 Created: Fri Jan 11 17:57:33 2002

 

Version:
1.0
Author:
Dare Obasanjo
See Also:
SixdmlQueryService.executeQuery(String, SixdmlCollection), SixdmlQueryService.executeQuery(String, SixdmlResource), Serialized Form

Fields inherited from class org.sixdml.exceptions.SixdmlException
sixmlExceptionCause
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
InvalidQueryException(String document, Throwable cause)
          Constructs a InvalidQueryException with the query and validation error exception.
InvalidQueryException(Throwable cause)
          Constructs a InvalidQueryException with the specified cause and validation error exception..
 
Methods inherited from class org.sixdml.exceptions.SixdmlException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

InvalidQueryException

public InvalidQueryException(String document,
                             Throwable cause)
Constructs a InvalidQueryException with the query and validation error exception.
Parameters:
document - the name of the document that failed to validate.

InvalidQueryException

public InvalidQueryException(Throwable cause)
Constructs a InvalidQueryException with the specified cause and validation error exception..