public class ChangeVetoException extends 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,
                   String reason)
Construct an exception to veto a change for a specified reason. 
 | 
ChangeVetoException(String reason)
Create an exception with a detail message 
 | 
ChangeVetoException(String reason,
                   Throwable cause)  | 
ChangeVetoException(Throwable ex,
                   ChangeEvent change)
Propogate an exception without (additional) explanation. 
 | 
ChangeVetoException(Throwable ex,
                   ChangeEvent change,
                   String reason)
Propogate an exception, giving a detail message 
 | 
ChangeVetoException(Throwable ex,
                   String reason)
Deprecated. 
 
use new ChangeVetoException(reason, ex); 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ChangeEvent | 
getChangeEvent()
Return the ChangeEvent which is being vetoed. 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ChangeVetoException()
public ChangeVetoException(ChangeEvent change)
change - An event which is being vetoed.public ChangeVetoException(String reason)
reason - A detail message.public ChangeVetoException(ChangeEvent change, String reason)
change - An event which is being vetoed.reason - A detail message.public ChangeVetoException(Throwable ex, ChangeEvent change)
ex - A parent exceptionchange - An event which is being vetoed.public ChangeVetoException(Throwable ex, String reason)
ex - A parent exceptionreason - A detail message.public ChangeVetoException(String reason, Throwable cause)
public ChangeVetoException(Throwable ex, ChangeEvent change, String reason)
ex - A parent exceptionchange - An event which is being vetoed.reason - A detail message.public ChangeEvent getChangeEvent()
Copyright © 2020 BioJava. All rights reserved.