org.nakedobjects.plugins.headless.applib
Class HiddenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.nakedobjects.plugins.headless.applib.InteractionException
                  extended by org.nakedobjects.plugins.headless.applib.HiddenException
All Implemented Interfaces:
java.io.Serializable

public class HiddenException
extends InteractionException

Superclass of exceptions which indicate an attempt to interact with a class member that is in some way hidden or invisible.

See Also:
Serialized Form

Constructor Summary
HiddenException(InteractionEvent interactionEvent)
           
 
Method Summary
 VisibilityEvent 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

HiddenException

public HiddenException(InteractionEvent interactionEvent)
Method Detail

getInteractionEvent

public VisibilityEvent getInteractionEvent()
Description copied from class: InteractionException
The event 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.

Overrides:
getInteractionEvent in class InteractionException
Returns:


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.