org.apache.turbine.services
Class InstantiationException

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

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 534527 2007-05-02 16:10:59Z tv $
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.
 
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.


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