| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract String | Returns: a String describing the internal state of the parser/writer.Subclasses must implement this method to return as much information as possible about the internal state of the parser/writer. |
| protected abstract String | Returns: a generic description of the error.Returns a generic description of the error. |
| public final String | Returns: a detailed message describing the errorOverrides java. |
| protected static String | |
| public static String | |
| public static Object[] | |
| protected String | |
| protected String | |
| protected Object[] | |
| public void | |
| protected String | Returns: the updated message.the original message msg)Allows subclasses to alter the exception message that should be displayed to end users. |
| errorContentLength | back to summary |
|---|---|
| protected int errorContentLength | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AbstractException | back to summary |
|---|---|
| protected AbstractException(String message, Throwable cause) | |
| getDetails | back to summary |
|---|---|
| protected abstract String getDetails() Subclasses must implement this method to return as much information as possible about the internal state of the parser/writer.
Use
| |
| getErrorDescription | back to summary |
|---|---|
| protected abstract String getErrorDescription() Returns a generic description of the error. The result of this method is used by
| |
| getMessage | back to summary |
|---|---|
| public final String getMessage() Overrides java. Returns a detailed message describing the error, and the internal state of the parser/writer. | |
| printIfNotEmpty | back to summary |
|---|---|
| protected static String printIfNotEmpty(String previous, String description, Object o) | |
| restrictContent | back to summary |
|---|---|
| public static String restrictContent(int errorContentLength, CharSequence content) | |
| restrictContent | back to summary |
|---|---|
| public static Object[] restrictContent(int errorContentLength, Object[] content) | |
| restrictContent | back to summary |
|---|---|
| protected String restrictContent(CharSequence content) | |
| restrictContent | back to summary |
|---|---|
| protected String restrictContent(Object content) | |
| restrictContent | back to summary |
|---|---|
| protected Object[] restrictContent(Object[] content) | |
| setErrorContentLength | back to summary |
|---|---|
| public void setErrorContentLength(int errorContentLength) | |
| updateMessage | back to summary |
|---|---|
| protected String updateMessage(String msg) Allows subclasses to alter the exception message that should be displayed to end users. By default the original message is kept unchanged. | |