public class SoyDataException extends RuntimeException
| Constructor and Description |
|---|
SoyDataException(String message) |
SoyDataException(String dataPath,
String message) |
SoyDataException(String dataPath,
String message,
Throwable cause) |
SoyDataException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
void |
prependIndexToDataPath(int index)
Prepends an index to the data path where this error occurred.
|
void |
prependKeyToDataPath(String key)
Prepends a key to the data path where this error occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SoyDataException(String message)
message - A detailed description of the error.public SoyDataException(String dataPath, String message)
dataPath - The data path where the error occurred.message - A detailed description of the error.public SoyDataException(String message, Throwable cause)
message - A detailed description of the error.cause - The throwable that is causing this exception.public void prependKeyToDataPath(String key)
key - The key to prepend.public void prependIndexToDataPath(int index)
index - The index to prepend.public String getMessage()
getMessage in class Throwable