com.thinkaurelius.titan.core

## Class QueryException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.thinkaurelius.titan.core.TitanException
        - - com.thinkaurelius.titan.core.QueryException

- All Implemented Interfaces:
    Serializable

      public class QueryException
      extends TitanException

  Exception thrown when a user defined query (e.g. a `TitanVertex` or `TitanGraphQuery`) is invalid or could not be processed.
  Author:
    Matthias Bröcheler (http://www.matthiasb.com)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryException(String msg)`
    `QueryException(String msg, Throwable cause)`
    `QueryException(Throwable cause)` Constructs an exception with a generic message

  - ### Method Summary

    - ### Methods inherited from class com.thinkaurelius.titan.core.TitanException

      `isCausedBy`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    - #### QueryException

          public QueryException(String msg)

      Parameters:
        `msg` - Exception message

    - #### QueryException

          public QueryException(String msg,
                        Throwable cause)

      Parameters:
        `msg` - Exception message
        `cause` - Cause of the exception

    - #### QueryException

          public QueryException(Throwable cause)

      Constructs an exception with a generic message
      Parameters:
        `cause` - Cause of the exception

Copyright © 2012–2014. All rights reserved.