org.modeshape.graph.query.parse
Class InvalidQueryException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.modeshape.graph.query.parse.InvalidQueryException
org.modeshape.graph.query.parse.InvalidQueryException
- All Implemented Interfaces: 
- Serializable
- public class InvalidQueryException 
- extends RuntimeException
 
An exception signalling that a query is invalid (but typically well-formed)
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
InvalidQueryException
public InvalidQueryException(String query)
- Create an exception with the invalid query.
 
- Parameters:
- query- the query that is invalid
 
InvalidQueryException
public InvalidQueryException(String query,
                             String message)
- Create an exception with the invalid query and a message.
 
- Parameters:
- query- the query that is invalid
- message-
 
getQuery
public String getQuery()
- Get the XPath query that is invalid.
 
- 
- Returns:
- the query; never null
 
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.