org.omg.PortableInterceptor
Class ForwardRequest

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.PortableInterceptor.ForwardRequest
All Implemented Interfaces:
Serializable, IDLEntity

public final class ForwardRequest
extends UserException
implements IDLEntity, Serializable

The ForwardRequest is thrown by interceptors to forward the request to another target. The field forward contains the reference to this alternative location.

See Also:
Serialized Form

Field Summary
 Object forward
          The field forward.
 
Constructor Summary
ForwardRequest()
          Create ForwardRequest with no explaining message and all fields left unitialised with the default initial java values.
ForwardRequest(Object a_forward)
          Create the ForwardRequest without explaining message and all fields initialised to the given values.
ForwardRequest(String why, Object a_forward)
          Create the ForwardRequest with explaining message and all fields initialised to the given values.
 
Method Summary
 
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
 

Field Detail

forward

public Object forward
The field forward.

Constructor Detail

ForwardRequest

public ForwardRequest()
Create ForwardRequest with no explaining message and all fields left unitialised with the default initial java values.


ForwardRequest

public ForwardRequest(String why,
                      Object a_forward)
Create the ForwardRequest with explaining message and all fields initialised to the given values.

Parameters:
why - a string, explaining, why this exception has been thrown.
a_forward - a value for forward.

ForwardRequest

public ForwardRequest(Object a_forward)
Create the ForwardRequest without explaining message and all fields initialised to the given values.

Parameters:
a_forward - a value for forward.