public final class MissingRequiredPropertyException extends PropertyException
InvalidPropertyValueException
,
Serialized FormConstructor and Description |
---|
MissingRequiredPropertyException(String propertyName)
Constructs a new
MissingRequiredPropertyException . |
MissingRequiredPropertyException(String propertyName,
String detail)
Constructs a new
MissingRequiredPropertyException , with the
specified detail message. |
Modifier and Type | Method and Description |
---|---|
String |
getDetail()
Returns the detail message.
|
getPropertyName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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
.public String getDetail()
null
.See http://www.xins.org/.