public class ChangeVetoException
extends java.lang.RuntimeException
ChangeVetoException
has been changed to extend RuntimeException
. It is therefore an
unchecked exception.Constructor and Description |
---|
ChangeVetoException() |
ChangeVetoException(ChangeEvent change)
Construct an exception to veto a change without explanation.
|
ChangeVetoException(ChangeEvent change,
java.lang.String reason)
Construct an exception to veto a change for a specified reason.
|
ChangeVetoException(java.lang.String reason)
Create an exception with a detail message
|
ChangeVetoException(java.lang.String reason,
java.lang.Throwable cause) |
ChangeVetoException(java.lang.Throwable ex,
ChangeEvent change)
Propogate an exception without (additional) explanation.
|
ChangeVetoException(java.lang.Throwable ex,
ChangeEvent change,
java.lang.String reason)
Propogate an exception, giving a detail message
|
ChangeVetoException(java.lang.Throwable ex,
java.lang.String reason)
Deprecated.
use new ChangeVetoException(reason, ex);
|
Modifier and Type | Method and Description |
---|---|
ChangeEvent |
getChangeEvent()
Return the ChangeEvent which is being vetoed.
|
public ChangeVetoException()
public ChangeVetoException(ChangeEvent change)
change
- An event which is being vetoed.public ChangeVetoException(java.lang.String reason)
reason
- A detail message.public ChangeVetoException(ChangeEvent change, java.lang.String reason)
change
- An event which is being vetoed.reason
- A detail message.public ChangeVetoException(java.lang.Throwable ex, ChangeEvent change)
ex
- A parent exceptionchange
- An event which is being vetoed.public ChangeVetoException(java.lang.Throwable ex, java.lang.String reason)
ex
- A parent exceptionreason
- A detail message.public ChangeVetoException(java.lang.String reason, java.lang.Throwable cause)
public ChangeVetoException(java.lang.Throwable ex, ChangeEvent change, java.lang.String reason)
ex
- A parent exceptionchange
- An event which is being vetoed.reason
- A detail message.public ChangeEvent getChangeEvent()