org.inria.ns.reflex.structures
Class InitializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.inria.ns.reflex.structures.LocalizableException
              extended by org.inria.ns.reflex.structures.InitializationException
All Implemented Interfaces:
Serializable, Localizable

public class InitializationException
extends LocalizableException

This exception is thrown when a component can't be correctly initialized.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
InitializationException()
          Creates a new instance of InitializationException without detail message.
InitializationException(Localizable localizable, Throwable cause)
          Constructs an instance of InitializationException with the specified localizable and cause.
InitializationException(String msg)
          Constructs an instance of InitializationException with the specified detail message.
InitializationException(Throwable rootCause)
          Constructs an instance of InitializationException with the specified detail message.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.structures.LocalizableException
getLocalizedMessage, getLocation, isLocalizable, setLocation, wasTraced
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitializationException

public InitializationException()
Creates a new instance of InitializationException without detail message.


InitializationException

public InitializationException(String msg)
Constructs an instance of InitializationException with the specified detail message.

Parameters:
msg - The detail message.

InitializationException

public InitializationException(Throwable rootCause)
Constructs an instance of InitializationException with the specified detail message.

Parameters:
rootCause - The Throwable exception that interfered with the normal initialization operation, making the exception necessary.

InitializationException

public InitializationException(Localizable localizable,
                               Throwable cause)
Constructs an instance of InitializationException with the specified localizable and cause.

Parameters:
localizable - The localizable that contains the source file in fault.
cause - The Throwable exception that interfered with the normal initialization operation, making the exception necessary.