| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.jasig.portal.properties.MissingPropertyException
MissingPropertyException | public class MissingPropertyException extends RuntimeException (Code) | | An undeclared (Runtime) exception to be thrown by the PropertiesManager
when a property is requested but cannot be found.
author: andrew.petro@yale.edu version: $Revision: 35626 $ $Date: 2005-04-18 18:19:03 -0700 (Mon, 18 Apr 2005) $ since: uPortal 2.4 |
Constructor Summary | |
public | MissingPropertyException(String propertyName) Instantiate a MissingPropertyException for a particular missing property. | public | MissingPropertyException(String propertyName, boolean alreadyReported) Instantiate a MissingPropertyException for a particular missing property,
indicating whether the throwing object has already thrown a MissingPropertyException for this
property. | public | MissingPropertyException(String propertyName, boolean alreadyReported, Throwable cause) Instantiate a MissingPropertyException for a particular missing property,
indicating whether the throwing object has already thrown a MissingPropertyException for this
property, and supplying an underlying cause. |
MissingPropertyException | public MissingPropertyException(String propertyName)(Code) | | Instantiate a MissingPropertyException for a particular missing property.
Parameters: propertyName - - the name of the property the value of which could not be found. |
MissingPropertyException | public MissingPropertyException(String propertyName, boolean alreadyReported)(Code) | | Instantiate a MissingPropertyException for a particular missing property,
indicating whether the throwing object has already thrown a MissingPropertyException for this
property.
Parameters: propertyName - name of missing property Parameters: alreadyReported - true if already reported |
MissingPropertyException | public MissingPropertyException(String propertyName, boolean alreadyReported, Throwable cause)(Code) | | Instantiate a MissingPropertyException for a particular missing property,
indicating whether the throwing object has already thrown a MissingPropertyException for this
property, and supplying an underlying cause.
Parameters: propertyName - name of missing property Parameters: alreadyReported - true if already reported Parameters: cause - underlying cause |
getPropertyName | public String getPropertyName()(Code) | | Get the name of the missing property.
Returns the name of the missing property. |
isAlreadyReported | public boolean isAlreadyReported()(Code) | | Has the throwing object already reported (thrown a MissingPropertyException for) this
particular missing property.
Objects handling this exception might choose to predicate their logging detail on this
property, for instance.
Returns true this property has already been reported as missing by the throwing object. |
|
|