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$
Author:
Kevin Burton, Rafal Krzewski
See Also:
Initable, Serialized Form

Fields inherited from class org.apache.turbine.util.TurbineRuntimeException
nested
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
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
captureStackTrace, captureStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, splitStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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 © 1999-2001 Apache Software Foundation. All Rights Reserved.