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

VetoChangeException (NetBeans MDR API) - NetBeans API Javadoc 5.5.0

org.netbeans.api.mdr/1 1.4.22

org.netbeans.api.mdr.events
Class VetoChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jmi.reflect.JmiException
                  extended by javax.jmi.reflect.ConstraintViolationException
                      extended by org.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
 
Method Summary
 
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


org.netbeans.api.mdr/1 1.4.22

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