org.objectweb.fractal.julia.control.binding
Class ChainedIllegalBindingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.fractal.api.control.IllegalBindingException
              extended byorg.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException
All Implemented Interfaces:
Serializable

public class ChainedIllegalBindingException
extends IllegalBindingException

A sub class of the IllegalBindingException class.

See Also:
Serialized Form

Constructor Summary
ChainedIllegalBindingException(Throwable exception, Component clientComponent, Component serverComponent, String clientItf, String serverItf, String message)
          Constructs a new ChainedIllegalBindingException exception.
 
Method Summary
 Component getClientComponent()
          Returns the client side component of the illegal binding.
 String getClientInterface()
          Returns the name of the client interface of the illegal binding.
 Throwable getException()
          Returns the exception that caused in this exception.
 Component getServerComponent()
          Returns the server side component of the illegal binding.
 String getServerInterface()
          Returns he name of the server interface of the illegal binding.
 void printStackTrace()
          Prints the stack backtrace.
 void printStackTrace(PrintStream s)
          Prints this exception and its backtrace to the specified print stream.
 void printStackTrace(PrintWriter s)
          Prints this exception and its backtrace to the specified print writer.
 String toString()
          Returns a String representation of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainedIllegalBindingException

public ChainedIllegalBindingException(Throwable exception,
                                      Component clientComponent,
                                      Component serverComponent,
                                      String clientItf,
                                      String serverItf,
                                      String message)
Constructs a new ChainedIllegalBindingException exception.

Parameters:
exception - the cause of this exception. May be null.
clientComponent - the client side component of the illegal binding.
serverComponent - the server side component of the illegal binding. May be null.
clientItf - the name of the client interface of the illegal binding.
serverItf - the name of the server interface of the illegal binding. May be null.
message - a detailed error message.
Method Detail

getException

public Throwable getException()
Returns the exception that caused in this exception.

Returns:
the exception that caused this exception. May be null.

getClientComponent

public Component getClientComponent()
Returns the client side component of the illegal binding.

Returns:
the client side component of the illegal binding.

getServerComponent

public Component getServerComponent()
Returns the server side component of the illegal binding.

Returns:
the server side component of the illegal binding. May be null.

getClientInterface

public String getClientInterface()
Returns the name of the client interface of the illegal binding.

Returns:
the name of the client interface of the illegal binding.

getServerInterface

public String getServerInterface()
Returns he name of the server interface of the illegal binding.

Returns:
the name of the server interface of the illegal binding. May be null.

toString

public String toString()
Returns a String representation of this exception.

Returns:
a String representation of this exception.

printStackTrace

public void printStackTrace()
Prints the stack backtrace.


printStackTrace

public void printStackTrace(PrintStream s)
Prints this exception and its backtrace to the specified print stream.

Parameters:
s - PrintStream to use for output.

printStackTrace

public void printStackTrace(PrintWriter s)
Prints this exception and its backtrace to the specified print writer.

Parameters:
s - PrintWriter to use for output.