org.omg.PortableInterceptor

Class ForwardRequest

public final class ForwardRequest extends UserException implements IDLEntity, Serializable

The ForwardRequest is thrown by interceptors to forward the request to another target. The field {@link #forward} contains the reference to this alternative location.
Field Summary
Objectforward
The field forward.
Constructor Summary
ForwardRequest()
Create ForwardRequest with no explaining message and all fields left unitialised with the default initial java values.
ForwardRequest(String why, Object a_forward)
Create the ForwardRequest with explaining message and all fields initialised to the given values.
ForwardRequest(Object a_forward)
Create the ForwardRequest without explaining message and all fields initialised to the given values.

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.