public class PropertyParseException extends Exception
PropertyRetriever,
Serialized Form| Constructor and Description |
|---|
PropertyParseException(String message)
Creates a new property parse exception with the specified message.
|
PropertyParseException(String message,
String propertyKey)
Creates a new property parse exception with the specified message and
property key.
|
PropertyParseException(String message,
String propertyKey,
String propertyValue)
Creates a new property parse exception with the specified message,
property key and property value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyKey()
Returns the key of the property that caused the exception,
null if unknown or not applicable. |
String |
getPropertyValue()
Returns the value of the property that caused the exception,
null if unknown or not applicable. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PropertyParseException(String message)
message - The exception message.public PropertyParseException(String message, String propertyKey)
message - The exception message.propertyKey - The key of the property that caused the exception,
null if unknown or not applicable.public PropertyParseException(String message, String propertyKey, String propertyValue)
message - The exception message.propertyKey - The key of the property that caused the
exception, null if unknown or not
applicable.propertyValue - The value of the property that caused the
exception, null if unknown or not
applicable.public String getPropertyKey()
null if unknown or not applicable.public String getPropertyValue()
null if unknown or not applicable.Copyright © 2013 The Transaction Company. All Rights Reserved.