public class ReplaceablePropertyVetoException extends RuntimeException
This code was developed by NASA, Goddard Space Flight Center, Code 588 for the Scientist's Expert Assistant (SEA) project.
Constructor and Description |
---|
ReplaceablePropertyVetoException(Object vetoSource,
String vetoReasonType,
String mess,
PropertyChangeEvent evt)
constructor
|
Modifier and Type | Method and Description |
---|---|
PropertyChangeEvent |
getPropertyChangeEvent()
Gets the vetoed
PropertyChangeEvent . |
String |
getVetoReasonType()
get the reasoning type for this veto exception
|
Object |
getVetoSource()
get the source of the veto exception
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ReplaceablePropertyVetoException(Object vetoSource, String vetoReasonType, String mess, 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.public PropertyChangeEvent getPropertyChangeEvent()
PropertyChangeEvent
.public Object getVetoSource()
public String getVetoReasonType()
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.