at.ac.tuwien.infosys.sm4all.copal.api.query
Class QueryDestroyedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.ac.tuwien.infosys.sm4all.copal.api.ContextException
              extended by at.ac.tuwien.infosys.sm4all.copal.api.query.QueryDestroyedException
All Implemented Interfaces:
java.io.Serializable

public class QueryDestroyedException
extends ContextException

Exception when a destroyed ContextQuery is used.

Author:
sanjin
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

QueryDestroyedException

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).

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

getQuery

public ContextQuery getQuery()
Returns the destroyed ContextQuery.

Returns:
the destroyed ContextQuery.


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