|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jasig.portal.properties.MissingPropertyException
public class MissingPropertyException
An undeclared (Runtime) exception to be thrown by the PropertiesManager when a property is requested but cannot be found.
| Constructor Summary | |
|---|---|
MissingPropertyException(String propertyName)
Instantiate a MissingPropertyException for a particular missing property. |
|
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. |
|
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. |
|
| Method Summary | |
|---|---|
String |
getMessage()
|
String |
getPropertyName()
Get the name of the missing property. |
boolean |
isAlreadyReported()
Has the throwing object already reported (thrown a MissingPropertyException for) this particular missing property. |
| 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 |
| Constructor Detail |
|---|
public MissingPropertyException(String propertyName)
propertyName - - the name of the property the value of which could not be found.
public MissingPropertyException(String propertyName,
boolean alreadyReported)
propertyName - name of missing propertyalreadyReported - true if already reported
public MissingPropertyException(String propertyName,
boolean alreadyReported,
Throwable cause)
propertyName - name of missing propertyalreadyReported - true if already reportedcause - underlying cause| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic boolean isAlreadyReported()
public String getPropertyName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||