Deprecated
as a consequence of XStreamException being deprecated. See corresponding docs for further information.
ErrorWriter
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ErrorWritingException(String
the error message message, Throwable the causing exception cause)Constructs a ErrorWritingException. |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(String
something to identify the type of information (e.g. 'XPath'). name, String detail of the message (e.g. '/blah/moo[3]' information)Implements com. |
| private void | |
| public String | get(String
the key of the message errorKey)Implements com. |
| public String | getMessage()
Overrides java. |
| public String | |
| public Iterator | keys()
Implements com. |
| public void | set(String
something to identify the type of information (e.g. 'XPath'). name, String detail of the message (e.g. '/blah/moo[3]' information)Implements com. |
| SEPARATOR | back to summary |
|---|---|
| private static final String SEPARATOR | |
| stuff | back to summary |
|---|---|
| private final Map<K, V> stuff | |
| ErrorWritingException | back to summary |
|---|---|
| public ErrorWritingException(String message) Constructs a ErrorWritingException.
| |
| ErrorWritingException | back to summary |
|---|---|
| public ErrorWritingException(Throwable cause) Constructs a ErrorWritingException.
| |
| ErrorWritingException | back to summary |
|---|---|
| public ErrorWritingException(String message, Throwable cause) Constructs a ErrorWritingException. | |
| add | back to summary |
|---|---|
| public void add(String name, String information) Implements com. Doc from com. Add some information to the error message. The information will be added even if the identifier is already in use. | |
| addData | back to summary |
|---|---|
| private void addData(String msg, Throwable cause) | |
| get | back to summary |
|---|---|
| public String get(String errorKey) Implements com. Doc from com. Retrieve information of the error message. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable.
| |
| getShortMessage | back to summary |
|---|---|
| public String getShortMessage() | |
| keys | back to summary |
|---|---|
| public Iterator Implements com. Doc from com. Retrieve an iterator over all keys of the error message.
| |
| set | back to summary |
|---|---|
| public void set(String name, String information) Implements com. Doc from com. Set some information to the error message. If the identifier is already in use, the new information will replace the old one. | |