com.tensegrity.gui.document.event
Class DocumentEventVetoException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.tensegrity.gui.document.event.DocumentEventVetoException
All Implemented Interfaces:
java.io.Serializable

public class DocumentEventVetoException
extends java.lang.Exception

A DocumentEventVetoException is thrown when a proposed change to a Document and/or MDIComponent is not wanted.

Version:
$Id: DocumentEventVetoException.java,v 1.2 2003/03/18 15:54:43 GillesIachelini Exp $
Author:
Stepan Rutz
See Also:
DocumentEvent, Serialized Form

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

DocumentEventVetoException

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

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

getDocumentEvent

public DocumentEvent getDocumentEvent()
Returns the vetoed DocumentEvent.

Returns:
the vetoed DocumentEvent.


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