com.tensegrity.composite.event
Class CompositeLineEventVetoException

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

public class CompositeLineEventVetoException
extends java.lang.Exception

A CompositeLineEventVetoException is thrown when a proposed change to a CompositeLine is not acceptable.

Version:
$Id: CompositeLineEventVetoException.java,v 1.2 2004/01/27 16:49:22 AndreasEbbert Exp $
Author:
MichaelKegel
See Also:
CompositeLineEvent, Serialized Form

Constructor Summary
CompositeLineEventVetoException(java.lang.String message, CompositeLineEvent event)
          Constructor specifying a message and the vetoed exception.
 
Method Summary
 CompositeLineEvent getCompositeLineEvent()
          Returns the vetoed CompositeLineEvent.
 
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

CompositeLineEventVetoException

public CompositeLineEventVetoException(java.lang.String message,
                                       CompositeLineEvent event)
Constructor specifying a message and the vetoed exception.

Parameters:
message - a textual description for the veto.
event - the vetoed CompositeLineEvent.
Method Detail

getCompositeLineEvent

public CompositeLineEvent getCompositeLineEvent()
Returns the vetoed CompositeLineEvent.

Returns:
the vetoed CompositeLineEvent


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