|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.biojava.utils.ChangeVetoException
public class ChangeVetoException
Exception which is thrown when a ChangeListener does not wish a change to take place.
| Constructor Summary | |
|---|---|
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); |
|
| Method Summary | |
|---|---|
ChangeEvent |
getChangeEvent()
Return the ChangeEvent which is being vetoed. |
| 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 |
|---|
public 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.| Method Detail |
|---|
public ChangeEvent getChangeEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||