public class

PropertyVetoException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.beans.PropertyVetoException

Class Overview

A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.

Summary

Public Constructors
PropertyVetoException(String mess, PropertyChangeEvent evt)
Constructs a PropertyVetoException with a detailed message.
Public Methods
PropertyChangeEvent getPropertyChangeEvent()
Gets the vetoed PropertyChangeEvent.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public PropertyVetoException (String mess, PropertyChangeEvent evt)

Constructs a PropertyVetoException with a detailed message.

Parameters
mess Descriptive message
evt A PropertyChangeEvent describing the vetoed change.

Public Methods

public PropertyChangeEvent getPropertyChangeEvent ()

Gets the vetoed PropertyChangeEvent.

Returns
  • A PropertyChangeEvent describing the vetoed change.