|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.nakedobjects.plugins.headless.applib.InteractionException
org.nakedobjects.plugins.headless.applib.InvalidException
public class InvalidException
Superclass of exceptions which indicate an attempt to interact with an object or member in a way that is invalid.
| Constructor Summary | |
|---|---|
InvalidException(InteractionEvent interactionEvent)
|
|
| Method Summary | |
|---|---|
ValidityEvent |
getInteractionEvent()
The event passed into the
constructor. |
| Methods inherited from class org.nakedobjects.plugins.headless.applib.InteractionException |
|---|
getAdvisorClass, getIdentifier |
| 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 InvalidException(InteractionEvent interactionEvent)
| Method Detail |
|---|
public ValidityEvent getInteractionEvent()
InteractionExceptionevent passed into the
constructor.
Not part of the API, but made available so that subclasses can expose as the appropriate subtype of
InteractionEvent. This would have been more obvious to see if InteractionException was
generic, but generic subclasses of Throwable are (apparently) not allowed.
getInteractionEvent in class InteractionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||