public class InvalidPropertyException
extends java.lang.Exception
Constructor and Description |
---|
InvalidPropertyException(java.lang.String property,
java.lang.String reason)
Construct a new exception for the specified property with the reason for the exception being thrown.
|
InvalidPropertyException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
java.lang.String |
getProperty() |
java.lang.String |
getReason() |
public InvalidPropertyException(java.lang.String property, java.lang.String reason)
property
- The name of the property in errorreason
- The reason for the errorpublic InvalidPropertyException(java.lang.Throwable cause)