Oracle Data-aware Controls Reference

oracle.dacf.control
Class NavigatingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.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

Constructor Summary
NavigatingException(Control target)
          Constructs a NavigatingException.
NavigatingException(Control target, java.lang.String msg)
          Constructs a NavigatingException.
 
Method Summary
 Control getTarget()
          Returns the control that should receive focus.
 
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

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 redirected
msg - Detailed message describing the reason for redirecting the focus
Method Detail

getTarget

public final Control getTarget()
Returns the control that should receive focus.

Returns:
the Control object

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.