com.ibm.portal.state.exceptions
Class MissingPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.state.exceptions.StateException
              extended by com.ibm.portal.state.exceptions.PropertyException
                  extended by com.ibm.portal.state.exceptions.MissingPropertyException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class MissingPropertyException
extends PropertyException

Exception representing the error case that a mandatory property has not been specified in a particular properties file.

Since:
5.1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.portal.state.exceptions.PropertyException
key, props
 
Constructor Summary
MissingPropertyException(java.lang.String aKey, Properties aProps)
          Initializes the exception by specifying the is missed
 
Method Summary
 
Methods inherited from class com.ibm.portal.state.exceptions.PropertyException
getKey, getProps
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Constructor Detail

MissingPropertyException

public MissingPropertyException(java.lang.String aKey,
                                Properties aProps)
Initializes the exception by specifying the is missed

Parameters:
aKey - Key of the property in the property collection
aProps - Property collection that contains the invalid property