InputError for the up-conversion process,
indicating that a particular island of Presentation MathML created by SnuggleTeX
could not be up-converted to either Content MathML or Maxima input form. This
will be due to one of the following reasons:
UpConversionUtilities for methods to help with this, including a method
for converting these into error message Strings.
UpConversionUtilities
| Modifier and Type | Field and Description |
|---|---|
| private final Object[] | arguments
Any additional arguments about the error. |
| private final String | context
Context within the MathML that the error occurred, as a serialized DOM subtree |
| private final ErrorCode | errorCode
Error code |
| private static final long | |
| private final String | xPath
XPath String corresponding to the first error Element. |
| Access | Constructor and Description |
|---|---|
| public | UpConversionFailure(final ErrorCode errorCode, final String xPath, final String context, final Object[] arguments)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | |
| public String | |
| public ErrorCode | |
| public String | |
| public String |
| arguments | back to summary |
|---|---|
| private final Object[] arguments Any additional arguments about the error. These are interpolated into error messages | |
| context | back to summary |
|---|---|
| private final String context Context within the MathML that the error occurred, as a serialized DOM subtree | |
| errorCode | back to summary |
|---|---|
| private final ErrorCode errorCode Error code | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| xPath | back to summary |
|---|---|
| private final String xPath XPath String corresponding to the first error Element. This is given relative to the "top" of the original MathML (normally a <math/> Element but might be a <semantics/> or <annotation-xml/> and assumes that MathML namespace is the default.)
| |
| UpConversionFailure | back to summary |
|---|---|
| public UpConversionFailure(final ErrorCode errorCode, final String xPath, final String context, final Object[] arguments) | |
| getArguments | back to summary |
|---|---|
| public Object[] getArguments() | |
| getContext | back to summary |
|---|---|
| public String getContext() | |
| getErrorCode | back to summary |
|---|---|
| public ErrorCode getErrorCode() | |
| getXPath | back to summary |
|---|---|
| public String getXPath() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |