simple.http.load
Class LoadingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by simple.http.load.LoadingException
All Implemented Interfaces:
java.io.Serializable

public class LoadingException
extends java.lang.Exception

The LoadingException is thrown when the loading of a Service fails for some reason. This is thrown by the LoaderEngine when the class for the Service cannot be found or if it cannot be instantiated because it does not have a suitable constructor. This is also thrown if the initialization of the service could not be done.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
LoadingException()
          This empty constructor is used if there is no explanation of the loading exception required.
LoadingException(java.lang.String desc)
          This constructor is used if there is a description of the event that caused the exception required.
LoadingException(java.lang.Throwable cause)
          This constructor is used if there is a description of the event that caused the exception required.
 
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
 

Constructor Detail

LoadingException

public LoadingException()
This empty constructor is used if there is no explanation of the loading exception required.


LoadingException

public LoadingException(java.lang.String desc)
This constructor is used if there is a description of the event that caused the exception required.

Parameters:
desc - this is a description of the exception

LoadingException

public LoadingException(java.lang.Throwable cause)
This constructor is used if there is a description of the event that caused the exception required.

Parameters:
cause - an exception that caused the error