com.tensegrity.graph.event
Class GraphEventVetoException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.tensegrity.graph.event.GraphEventVetoException
All Implemented Interfaces:
java.io.Serializable

public class GraphEventVetoException
extends java.lang.Exception

A GraphEventVetoException is thrown when a proposed change to a Graph is not wanted.

Version:
$Id: GraphEventVetoException.java,v 1.2 2003/03/18 13:56:22 sr Exp $
Author:
Stepan Rutz
See Also:
GraphEvent, Serialized Form

Constructor Summary
GraphEventVetoException(java.lang.String message, GraphEvent event)
          Constructor for GraphEventVetoException.
 
Method Summary
 GraphEvent getGraphEvent()
          Returns the vetoed GraphEvent.
 
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

GraphEventVetoException

public GraphEventVetoException(java.lang.String message,
                               GraphEvent event)
Constructor for GraphEventVetoException.

Parameters:
message - the explanatory text for the veto
event - the vetoed GraphEvent
Method Detail

getGraphEvent

public GraphEvent getGraphEvent()
Returns the vetoed GraphEvent.

Returns:
CompositeEvent the vetoed GraphEvent.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.