Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.graph.query.parse
Class InvalidQueryException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  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

Constructor Summary
`InvalidQueryException(String query)` Create an exception with the invalid query.
`InvalidQueryException(String query, String message)` Create an exception with the invalid query and a message.

Method Summary
`String` | `getQuery()` Get the XPath query that is invalid.

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

Method Detail

### getQuery

    public String getQuery()

  Get the XPath query that is invalid.

  Returns:
    the query; never null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.