com.tensegrity.composite.event
Class CompositeEventVetoException

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

public class CompositeEventVetoException
extends java.lang.Exception

A CompositeEventVetoException is thrown when a proposed change to a Composite is not acceptable.

Version:
$Id: CompositeEventVetoException.java,v 1.2 2003/02/12 10:08:50 sr Exp $
Author:
MichaelKegel
See Also:
CompositeEvent, Serialized Form

Constructor Summary
CompositeEventVetoException(java.lang.String message, CompositeEvent event)
          Constructor for CompositeEventVetoException.
 
Method Summary
 CompositeEvent getCompositeEvent()
          returns the vetoed CompositeEvent.
 
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

CompositeEventVetoException

public CompositeEventVetoException(java.lang.String message,
                                   CompositeEvent event)
Constructor for CompositeEventVetoException.

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

getCompositeEvent

public CompositeEvent getCompositeEvent()
returns the vetoed CompositeEvent.

Returns:
CompositeEvent the vetoed CompositeEvent


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