jsky.timeline
Class DetailedPropertyVetoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.beans.PropertyVetoException
              extended by jsky.timeline.DetailedPropertyVetoException
All Implemented Interfaces:
java.io.Serializable

public class DetailedPropertyVetoException
extends java.beans.PropertyVetoException

Extends the PropertyVetoException and adds more detailed fields on why the propery change event is being vetoed.

This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.

Version:
08/19/99
Author:
M. Fishman
See Also:
Serialized Form

Constructor Summary
DetailedPropertyVetoException(java.lang.Object vetoSource, java.lang.String vetoReasonType, java.lang.String mess, java.beans.PropertyChangeEvent evt)
          constructor
 
Method Summary
 java.lang.String getVetoReasonType()
          get the reasoning type for this veto exception
 java.lang.Object getVetoSource()
          get the source of the veto exception
 
Methods inherited from class java.beans.PropertyVetoException
getPropertyChangeEvent
 
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

DetailedPropertyVetoException

public DetailedPropertyVetoException(java.lang.Object vetoSource,
                                     java.lang.String vetoReasonType,
                                     java.lang.String mess,
                                     java.beans.PropertyChangeEvent evt)
constructor

Parameters:
vetoSource - the object that is throwing the veto exception
vetoReasonType - the reason type for why the property change was vetoed
mess - Descriptive message
evt - A PropertyChangeEvent describing the vetoed change.
Method Detail

getVetoSource

public java.lang.Object getVetoSource()
get the source of the veto exception


getVetoReasonType

public java.lang.String getVetoReasonType()
get the reasoning type for this veto exception