Class QueryDestroyedException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by
              extended by
All Implemented Interfaces:

public class QueryDestroyedException
extends ContextException

Exception when a destroyed ContextQuery is used.

See Also:
Serialized Form

Constructor Summary
QueryDestroyedException(ContextQuery query)
          Create instance of specified ContextQuery is destroyed exception.
Method Summary
 ContextQuery getQuery()
          Returns the destroyed ContextQuery.
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


public QueryDestroyedException(ContextQuery query)
Create instance of specified ContextQuery is destroyed exception. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).

query - the destroyed ContextQuery (which is saved for later retrieval by the getQuery() method).
Method Detail


public ContextQuery getQuery()
Returns the destroyed ContextQuery.

the destroyed ContextQuery.

Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.