org.displaytag.exception
Class FactoryInstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.displaytag.exception.BaseNestableRuntimeException
                  extended by org.displaytag.exception.FactoryInstantiationException
All Implemented Interfaces:
java.io.Serializable

public class FactoryInstantiationException
extends BaseNestableRuntimeException

Exception thrown when displaytag is unable to instantiate a class specified by the user in the properties file.

Version:
$Revision: 1081 $ ($Author: fgiust $)
Author:
Fabrizio Giustina
See Also:
Serialized Form

Constructor Summary
FactoryInstantiationException(java.lang.Class source, java.lang.String propertyName, java.lang.String propertyValue, java.lang.Throwable cause)
          Instantiate a new FactoryInstantiationException.
 
Method Summary
 SeverityEnum getSeverity()
          subclasses need to define the getSeverity method to provide correct severity for logging.
 
Methods inherited from class org.displaytag.exception.BaseNestableRuntimeException
getCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactoryInstantiationException

public FactoryInstantiationException(java.lang.Class source,
                                     java.lang.String propertyName,
                                     java.lang.String propertyValue,
                                     java.lang.Throwable cause)
Instantiate a new FactoryInstantiationException.

Parameters:
source - Class where the exception is generated
propertyName - name of the property
propertyValue - value for the property (class name)
cause - previous exception
Method Detail

getSeverity

public SeverityEnum getSeverity()
Description copied from class: BaseNestableRuntimeException
subclasses need to define the getSeverity method to provide correct severity for logging.

Specified by:
getSeverity in class BaseNestableRuntimeException
Returns:
SeverityEnum exception severity
See Also:
BaseNestableJspTagException.getSeverity()


Copyright © 2002-2007 the Displaytag team. All Rights Reserved.