|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jsky.util.ReplaceablePropertyVetoException
public class ReplaceablePropertyVetoException
Extends the RunTimeException to provide capability similar to PropertyVetoException capabilities to property change handling. This implementation works off of RunTimeException and consequently does not require a user to add a new change handling method.
This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.
Constructor Summary | |
---|---|
ReplaceablePropertyVetoException(java.lang.Object vetoSource,
java.lang.String vetoReasonType,
java.lang.String mess,
java.beans.PropertyChangeEvent evt)
constructor |
Method Summary | |
---|---|
java.beans.PropertyChangeEvent |
getPropertyChangeEvent()
Gets the vetoed PropertyChangeEvent . |
java.lang.String |
getVetoReasonType()
get the reasoning type for this veto exception |
java.lang.Object |
getVetoSource()
get the source of the veto exception |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceablePropertyVetoException(java.lang.Object vetoSource, java.lang.String vetoReasonType, java.lang.String mess, java.beans.PropertyChangeEvent evt)
vetoSource
- the object that is throwing the veto exceptionvetoReasonType
- the reason type for why the property change was vetoedmess
- Descriptive messageevt
- A PropertyChangeEvent describing the vetoed change.Method Detail |
---|
public java.beans.PropertyChangeEvent getPropertyChangeEvent()
PropertyChangeEvent
.
public java.lang.Object getVetoSource()
public java.lang.String getVetoReasonType()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |