com.tensegrity.graph.event
Class VisualGraphEventVetoException

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

public class VisualGraphEventVetoException
extends java.lang.Exception

A VisualGraphEventVetoException is thrown when a proposed change to a VisualGraph is not wanted.

Version:
$Id: VisualGraphEventVetoException.java,v 1.1 2003/08/12 09:19:08 MichaelKegel Exp $
Author:
MichaelKegel
See Also:
VisualGraphEvent, Serialized Form

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

VisualGraphEventVetoException

public VisualGraphEventVetoException(java.lang.String message,
                                     VisualGraphEvent event)
Constructor for VisualGraphEventVetoException.

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

getGraphEvent

public VisualGraphEvent getGraphEvent()
Returns the vetoed VisualGraphEvent.

Returns:
CompositeEvent the vetoed VisualGraphEvent.


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