com.ibm.portal.state.exceptions
Class InvalidPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.state.exceptions.StateException
com.ibm.portal.state.exceptions.PropertyException
com.ibm.portal.state.exceptions.InvalidPropertyException
- All Implemented Interfaces:
- Localized, java.io.Serializable
public abstract class InvalidPropertyException
- extends PropertyException
Exception representing the error case that a property (in particular the property
value) specified in a properties file is considered as incorrect.
- Since:
- 5.1
- See Also:
- Serialized Form
Constructor Summary |
InvalidPropertyException(java.lang.String aKey,
com.ibm.wps.util.Properties aProps)
Initializes the exception by specifying the property that is invalid |
InvalidPropertyException(java.lang.String aKey,
com.ibm.wps.util.Properties aProps,
java.lang.Throwable aCause)
Initializes the exception by specifying the property that is invalid |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidPropertyException
public InvalidPropertyException(java.lang.String aKey,
com.ibm.wps.util.Properties aProps)
- Initializes the exception by specifying the property that is invalid
- Parameters:
aKey
- Key of the property in the property collectionaProps
- Property collection that contains the invalid property
InvalidPropertyException
public InvalidPropertyException(java.lang.String aKey,
com.ibm.wps.util.Properties aProps,
java.lang.Throwable aCause)
- Initializes the exception by specifying the property that is invalid
- Parameters:
aKey
- Key of the property in the property collectionaProps
- Property collection that contains the invalid propertyaCause
- Root cause for the exception
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
- See Also:
Throwable.getMessage()