org.apache.turbine.services
Class InstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.lang.exception.NestableRuntimeException
                  extended by org.apache.turbine.util.TurbineRuntimeException
                      extended by org.apache.turbine.services.InstantiationException
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.lang.exception.Nestable

public class InstantiationException
extends TurbineRuntimeException

Thrown by InitableBroker and ServiceBroker classes to indicate problems with instatiation of requested objects. Make sure you don't confuse this exception with the java.lang.InstantiationException.

Version:
$Id: InstantiationException.java 330049 2005-11-01 12:44:34Z sgoeschl $
Author:
Kevin Burton, Rafal Krzewski
See Also:
Initable, Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate
 
Constructor Summary
InstantiationException(java.lang.String msg)
          Construct an InstantiationException with specified detail message.
InstantiationException(java.lang.String msg, java.lang.Throwable t)
          Construct an InstantiatioException with specified detail message and nested Throwable.
 
Method Summary
 
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiationException

public InstantiationException(java.lang.String msg)
Construct an InstantiationException with specified detail message.

Parameters:
msg - The detail message.

InstantiationException

public InstantiationException(java.lang.String msg,
                              java.lang.Throwable t)
Construct an InstantiatioException with specified detail message and nested Throwable.

Parameters:
msg - The detail message.
t - the root exception.


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.