|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.thetransactioncompany.util.PropertyParseException
public class PropertyParseException
Thrown on a property parse exception. Intended to report missing or invalid properties.
PropertyRetriever,
Serialized Form| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 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.| Method Detail |
|---|
public String getPropertyKey()
null if unknown or not applicable.
public String getPropertyValue()
null if unknown or not applicable.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||