Package org.apache.turbine.services
Class InstantiationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.turbine.util.TurbineRuntimeException
-
- org.apache.turbine.services.InstantiationException
-
- All Implemented Interfaces:
Serializable
public class InstantiationException extends TurbineRuntimeException
Thrown byInitableBroker
andServiceBroker
classes to indicate problems with instatiation of requested objects. Make sure you don't confuse this exception with the java.lang.InstantiationException.- Version:
- $Id$
- Author:
- Kevin Burton, Rafal Krzewski
- See Also:
Initable
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstantiationException(String msg)
Construct an InstantiationException with specified detail message.InstantiationException(String msg, Throwable t)
Construct an InstantiatioException with specified detail message and nested Throwable.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InstantiationException
public InstantiationException(String msg)
Construct an InstantiationException with specified detail message.- Parameters:
msg
- The detail message.
-
InstantiationException
public InstantiationException(String msg, Throwable t)
Construct an InstantiatioException with specified detail message and nested Throwable.- Parameters:
msg
- The detail message.t
- the root exception.
-
-