| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.jasig.portal.properties.BadPropertyException
BadPropertyException | public class BadPropertyException extends RuntimeException (Code) | | This is an undeclared (Runtime) exception to be thrown by the
PropertiesManager when a property is requested but cannot be
parsed and returned as the desired type.
author: andrew.petro@yale.edu version: $Revision: 35625 $ $Date: 2005-04-18 18:18:38 -0700 (Mon, 18 Apr 2005) $ since: uPortal 2.4 |
BadPropertyException | public BadPropertyException(String propertyName, String propertyValue, String desiredType)(Code) | | Instantiate a new BadPropertyException.
Parameters: propertyName - - the name of the property Parameters: propertyValue - - the bad value of the property. Parameters: desiredType - - the name of the desired type which the value wasn't, making it bad. |
BadPropertyException | public BadPropertyException(String propertyName, String propertyValue, String desiredType, Throwable cause)(Code) | | Instantiate a new BadPropertyException with the given underlying cause.
Parameters: propertyName - - the name of the property Parameters: propertyValue - - the bad value of the property. Parameters: desiredType - - the name of the desired type which the value wasn't, making it bad. Parameters: cause - - underlying cause |
getDesiredType | public String getDesiredType()(Code) | | Get the desired type as which the property could not be parsed.
Returns the desiredType. |
getLocalizedMessage | public String getLocalizedMessage()(Code) | | |
getPropertyName | public String getPropertyName()(Code) | | Get the name of the bad property.
Returns the propertyName. |
getPropertyValue | public String getPropertyValue()(Code) | | Get the actual value of the property.
Returns the propertyValue. |
|
|