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:
java.io.Serializable

public class InstantiationException
extends TurbineRuntimeException

Thrown by InitableBroker and ServiceBroker classes to indicate problems with instatiation of requested objects.

Version:
$Id: InstantiationException.java,v 1.1.1.1 2001/08/16 05:08:47 jvanzyl Exp $
Author:
Kevin Burton, Rafal Krzewski
See Also:
Initable, Serialized Form

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.turbine.util.TurbineRuntimeException
printStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, 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.
nested - the exception or error that caused this exception to be thrown.


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