当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
VetoChangeException (NetBeans MDR API) - NetBeans API Javadoc 4.1.0
org.netbeans.api.mdr.events
Class VetoChangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jmi.reflect.JmiException
javax.jmi.reflect.ConstraintViolationException
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 |
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 |
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