|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.xins.common.collections.MissingRequiredPropertyException
Exception thrown to indicate a required property has no value set for it.
InvalidPropertyValueException
,
Serialized FormConstructor Summary | |
MissingRequiredPropertyException(String propertyName)
Constructs a new MissingRequiredPropertyException . |
|
MissingRequiredPropertyException(String propertyName,
String detail)
Constructs a new MissingRequiredPropertyException , with the
specified detail message. |
Method Summary | |
String |
getDetail()
Returns the detail message. |
String |
getPropertyName()
Returns the name of the property. |
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 |
Constructor Detail |
public MissingRequiredPropertyException(String propertyName, String detail) throws IllegalArgumentException
MissingRequiredPropertyException
, with the
specified detail message.
propertyName
- the name of the required property, not null
.detail
- a more detailed description of why this property is required in this
context, can be null
.
IllegalArgumentException
- if propertyName == null
.public MissingRequiredPropertyException(String propertyName) throws IllegalArgumentException
MissingRequiredPropertyException
.
propertyName
- the name of the required property, not null
.
IllegalArgumentException
- if propertyName == null
.Method Detail |
public String getPropertyName()
null
.public String getDetail()
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |