org.melati.util
Class InstantiationPropertyException

Package class diagram package InstantiationPropertyException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.melati.util.MelatiException
              extended by org.melati.util.PropertyException
                  extended by org.melati.util.InstantiationPropertyException
All Implemented Interfaces:
Serializable

public class InstantiationPropertyException
extends PropertyException

Thrown when there is a problem finding or creating a class from a property value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.util.PropertyException
properties, propertyName
 
Fields inherited from class org.melati.util.MelatiException
subException
 
Constructor Summary
InstantiationPropertyException(Properties properties, String propertyName, Exception problem)
          Constructor with properties, property name and problem.
InstantiationPropertyException(String propertyName, Exception problem)
          Constructor with properties, property name and problem.
 
Method Summary
 String getMessage()
          
 
Methods inherited from class org.melati.util.MelatiException
innermostException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiationPropertyException

public InstantiationPropertyException(Properties properties,
                                      String propertyName,
                                      Exception problem)
Constructor with properties, property name and problem.

Parameters:
properties - a properties object
propertyName - the name of the property with the problem
problem - and Exception

InstantiationPropertyException

public InstantiationPropertyException(String propertyName,
                                      Exception problem)
Constructor with properties, property name and problem.

Parameters:
propertyName - the name of the property with the problem
problem - and Exception
Method Detail

getMessage

public String getMessage()

Overrides:
getMessage in class PropertyException
Returns:
The detailed message.
See Also:
PropertyException.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.