public final class ErrorConsts extends Object
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.
Constructor and Description |
---|
ErrorConsts() |
Modifier and Type | Method and Description |
---|---|
static void |
throwInternalError() |
static void |
throwInternalError(String type) |
static String |
tokenTypeDesc(int type) |
public static String ERR_INTERNAL
public static String ERR_NULL_ARG
public static String VERR_EMPTY
public static String VERR_NON_MIXED
public static String VERR_ANY
public static String ERR_STATE_NOT_STELEM
public static String ERR_STATE_NOT_ELEM
public static String ERR_STATE_NOT_PI
public static String ERR_STATE_NOT_STELEM_OR_TEXT
public static String SUFFIX_IN_PROLOG
public static String SUFFIX_IN_EPILOG
public static String SUFFIX_IN_TREE
public static String ERR_WF_PI_XML_TARGET
public static String ERR_WF_DUP_ATTRS
public static String ERR_NS_UNDECLARED
public static String ERR_NS_UNDECLARED_FOR_ATTR
public static String ERR_NS_REDECL_XML
public static String ERR_NS_REDECL_XMLNS
public static String ERR_NS_REDECL_XML_URI
public static String ERR_NS_REDECL_XMLNS_URI
public static String ERR_NS_EMPTY
public static String WERR_PROLOG_CDATA
public static String WERR_PROLOG_ENTITY
public static String WERR_PROLOG_SECOND_ROOT
public static String WERR_PROLOG_NO_ROOT
public static String WERR_DUP_XML_DECL
public static String WERR_CDATA_CONTENT
public static String WERR_COMMENT_CONTENT
public static String WERR_PI_CONTENT
public static String WERR_NO_ESCAPING
public static String WERR_SPACE_CONTENT
public static String WERR_ATTR_NO_ELEM
public static String WERR_NS_NO_ELEM
public static String WERR_NAME_EMPTY
public static String WERR_NAME_ILLEGAL_FIRST_CHAR
public static String WERR_NAME_ILLEGAL_CHAR
public static String WT_ENT_DECL
public static String WT_ELEM_DECL
public static String WT_ATTR_DECL
public static String WT_XML_DECL
public static String WT_DT_DECL
public static String WT_NS_DECL
public static String WT_VALIDATION
public static String W_MIXED_ENCODINGS
Copyright © 2012-2015 FasterXML. All Rights Reserved.