Package com.fasterxml.aalto.impl
Class ErrorConsts
java.lang.Object
com.fasterxml.aalto.impl.ErrorConsts
This class contains various String constants used for error reporting.
Note: although messages are constants, they are not marked as finals; this is intentional, to avoid inlining (same String might get embedded in multiple using class files). May not matter in the end, but for now done to optimize class file sizes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
This is the generic type for warnings based on XMLValidationProblem objects.static String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
throwInternalError
(String type) static String
tokenTypeDesc
(int type)
-
Field Details
-
ERR_INTERNAL
-
ERR_NULL_ARG
-
VERR_EMPTY
-
VERR_NON_MIXED
-
VERR_ANY
-
ERR_STATE_NOT_STELEM
-
ERR_STATE_NOT_ELEM
-
ERR_STATE_NOT_PI
-
ERR_STATE_NOT_STELEM_OR_TEXT
-
SUFFIX_IN_PROLOG
-
SUFFIX_IN_EPILOG
-
SUFFIX_IN_TREE
-
ERR_WF_PI_XML_TARGET
-
ERR_WF_DUP_ATTRS
-
ERR_NS_UNDECLARED
-
ERR_NS_UNDECLARED_FOR_ATTR
-
ERR_NS_REDECL_XML
-
ERR_NS_REDECL_XMLNS
-
ERR_NS_REDECL_XML_URI
-
ERR_NS_REDECL_XMLNS_URI
-
ERR_NS_EMPTY
-
WERR_PROLOG_CDATA
-
WERR_PROLOG_ENTITY
-
WERR_PROLOG_SECOND_ROOT
-
WERR_PROLOG_NO_ROOT
-
WERR_DUP_XML_DECL
-
WERR_CDATA_CONTENT
-
WERR_COMMENT_CONTENT
-
WERR_PI_CONTENT
-
WERR_NO_ESCAPING
-
WERR_SPACE_CONTENT
-
WERR_ATTR_NO_ELEM
-
WERR_NS_NO_ELEM
-
WERR_NAME_EMPTY
-
WERR_NAME_ILLEGAL_FIRST_CHAR
-
WERR_NAME_ILLEGAL_CHAR
-
WT_ENT_DECL
-
WT_ELEM_DECL
-
WT_ATTR_DECL
-
WT_XML_DECL
-
WT_DT_DECL
-
WT_NS_DECL
-
WT_VALIDATION
This is the generic type for warnings based on XMLValidationProblem objects. -
W_MIXED_ENCODINGS
-
-
Constructor Details
-
ErrorConsts
public ErrorConsts()
-
-
Method Details
-
tokenTypeDesc
-
throwInternalError
public static void throwInternalError() -
throwInternalError
-