oracle.dacf.control
Class NavigatingException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.dacf.control.NavigatingException
- All Implemented Interfaces:
- java.io.Serializable
- public class NavigatingException
- extends java.lang.Exception
This exception is thrown to stop the NavigationEvent delivery cycle
and to transfer the focus to some other control. NavigationEvent's are
delivered when focus changes from one control to another.
- See Also:
Control
,
NavigationEvent
,
NavigationListener
, Serialized Form
Method Summary |
Control |
getTarget()
Returns the control that should receive focus. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NavigatingException
public NavigatingException(Control target)
- Constructs a NavigatingException.
- Parameters:
target
- Control to which focus should now be redirected
NavigatingException
public NavigatingException(Control target,
java.lang.String msg)
- Constructs a NavigatingException.
- Parameters:
target
- Control to which focus should now be redirectedmsg
- Detailed message describing the reason for
redirecting the focus
getTarget
public final Control getTarget()
- Returns the control that should receive focus.
- Returns:
- the Control object