org.objectweb.jonathan.binding.api
Class ForwardException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.jonathan.apis.kernel.JonathanException
              extended byorg.objectweb.jonathan.binding.api.BindException
                  extended byorg.objectweb.jonathan.binding.api.ForwardException
All Implemented Interfaces:
Serializable

public class ForwardException
extends BindException

ForwardException is a checked exception raised by bind or listen operations or to indicate that another reference should be used to designate the targeted object interface.

See Also:
Serialized Form

Field Summary
 Object reference
          Another reference for the targeted object interface.
 
Constructor Summary
ForwardException(Object reference)
          Constructs a new ForwardException with the given reference.
 
Methods inherited from class org.objectweb.jonathan.apis.kernel.JonathanException
getMessage, printStackTrace, printStackTrace, printStackTrace, represents, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reference

public Object reference
Another reference for the targeted object interface. Depending on the context, this object may be of type Identifier, Reference, or of any other type, provided that it really designates the right interface, and that its type is clear from the context.

Constructor Detail

ForwardException

public ForwardException(Object reference)
Constructs a new ForwardException with the given reference.

Parameters:
reference - an object identifying the targeted object interface.