站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

VetoChangeException (NetBeans MDR API) - NetBeans API Javadoc 5.0.0

 

org.netbeans.api.mdr.events
Class VetoChangeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jmi.reflect.JmiException
                  extended byjavax.jmi.reflect.ConstraintViolationException
                      extended byorg.netbeans.api.mdr.events.VetoChangeException
All Implemented Interfaces:
Serializable

public class VetoChangeException
extends javax.jmi.reflect.ConstraintViolationException

Can be thrown from MDRPreChangeListener.plannedChange(org.netbeans.api.mdr.events.MDRChangeEvent) to veto the planned change.

See Also:
Serialized Form

Constructor Summary
VetoChangeException(Object objectInError, javax.jmi.reflect.RefObject elementInError)
          Creates a new instance of VetoChangeException
VetoChangeException(Object objectInError, javax.jmi.reflect.RefObject elementInError, String message)
          Creates a new instance of VetoChangeException
 
Methods inherited from class javax.jmi.reflect.JmiException
getElementInError, getObjectInError
 
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

VetoChangeException

public VetoChangeException(Object objectInError,
                           javax.jmi.reflect.RefObject elementInError)
Creates a new instance of VetoChangeException


VetoChangeException

public VetoChangeException(Object objectInError,
                           javax.jmi.reflect.RefObject elementInError,
                           String message)
Creates a new instance of VetoChangeException


 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.