- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.beans.PropertyVetoException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PropertyVetoException extends Exception A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.- Since:
- 1.1
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PropertyVetoException(String mess, PropertyChangeEvent evt)Constructs aPropertyVetoExceptionwith a detailed message.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyChangeEventgetPropertyChangeEvent()Gets the vetoedPropertyChangeEvent.- 
Methods declared in class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
PropertyVetoExceptionpublic PropertyVetoException(String mess, PropertyChangeEvent evt) Constructs aPropertyVetoExceptionwith a detailed message.- Parameters:
- mess- Descriptive message
- evt- A PropertyChangeEvent describing the vetoed change.
 
 
- 
 - 
Method Detail- 
getPropertyChangeEventpublic PropertyChangeEvent getPropertyChangeEvent() Gets the vetoedPropertyChangeEvent.- Returns:
- A PropertyChangeEvent describing the vetoed change.
 
 
- 
 
-