org.modeshape.jcr.query.parse
Class InvalidQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.jcr.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 invalidmessage
-
getQuery
public String getQuery()
- Get the query that is invalid.
- Returns:
- the query; never null
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.