at.ac.tuwien.infosys.sm4all.copal.api.service
Class RedefinitionOfQueryException

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.service.RedefinitionOfQueryException
All Implemented Interfaces:
java.io.Serializable

public class RedefinitionOfQueryException
extends ContextException

Exception when another ContextQuery is created with same name and different event name or criteria then the previously created ContextQuery.

Author:
sanjin
See Also:
Serialized Form

Constructor Summary
RedefinitionOfQueryException(ContextQuery query)
          Create exception when another ContextQuery is created with same name and different event name or criteria then specified already-created ContextQuery.
 
Method Summary
 ContextQuery getQuery()
          Returns the ContextQuery which is tried to be redefined.
 
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

RedefinitionOfQueryException

public RedefinitionOfQueryException(ContextQuery query)
Create exception when another ContextQuery is created with same name and different event name or criteria then specified already-created ContextQuery.

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

getQuery

public ContextQuery getQuery()
Returns the ContextQuery which is tried to be redefined.

Returns:
the ContextQuery which is tried to be redefined.


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