Package org.htmlunit.xpath.res
Class XPATHErrorResources
java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle
org.htmlunit.xpath.res.XPATHErrorResources
Set up error messages. We build a two dimensional array of message keys and message strings. In
order to add a new message here, you need to first add a Static string constant for the Key and
update the contents array with Key, Value pair Also you need to update the count of
messages(MAX_CODE)or the count of warnings(MAX_WARNING) [ Information purpose only]
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringField BAD_CODEstatic final Stringstatic final Stringstatic final Stringstatic final StringCan not call setShouldCacheNodes after nextNode has been called!static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringProblem with LocationPathstatic final Stringstatic final StringProblem with Stepstatic final StringProblem with NodeTeststatic final StringProblem with RelativeLocationPathstatic final StringExpected relative path patternstatic final Stringstatic final StringExpected step patternstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThis NodeSet can not do indexing or counting functions!static final StringThis NodeSet can not iterate to a previous node!static final Stringstatic final StringThis NodeSetDTM can not do indexing or counting functions!static final StringThis NodeSetDTM can not iterate to a previous node!static final Stringstatic final StringNull error handlerstatic final String{0} only allows {1} argumentsstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringError! Setting the root of a walker to null!static final String2 or 3static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringProgrammer's assertion in getNextStepPos: unknown stepType: {0}static final Stringstatic final String0 or 1static final StringField FORMAT_FAILEDFields inherited from class java.util.ResourceBundle
parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject, handleKeySetMethods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
-
Field Details
-
ER_CONTEXT_HAS_NO_OWNERDOC
- See Also:
-
ER_UNKNOWN_MATCH_OPERATION
- See Also:
-
ER_CANT_CONVERT_TO_NUMBER
- See Also:
-
ER_CANT_CONVERT_TO_NODELIST
- See Also:
-
ER_CANT_CONVERT_TO_MUTABLENODELIST
- See Also:
-
ER_UNKNOWN_OPCODE
- See Also:
-
ER_EXTRA_ILLEGAL_TOKENS
- See Also:
-
ER_EXPECTED_DOUBLE_QUOTE
- See Also:
-
ER_EXPECTED_SINGLE_QUOTE
- See Also:
-
ER_EMPTY_EXPRESSION
- See Also:
-
ER_EXPECTED_BUT_FOUND
- See Also:
-
ER_INCORRECT_PROGRAMMER_ASSERTION
- See Also:
-
ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL
- See Also:
-
ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG
- See Also:
-
ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG
- See Also:
-
ER_PREDICATE_ILLEGAL_SYNTAX
- See Also:
-
ER_ILLEGAL_AXIS_NAME
- See Also:
-
ER_UNKNOWN_NODETYPE
- See Also:
-
ER_PATTERN_LITERAL_NEEDS_BE_QUOTED
- See Also:
-
ER_COULDNOT_BE_FORMATTED_TO_NUMBER
- See Also:
-
ER_AXES_NOT_ALLOWED
- See Also:
-
ER_COULDNOT_FIND_FUNCTION
- See Also:
-
ER_PREFIX_MUST_RESOLVE
- See Also:
-
ER_FUNCTION_TOKEN_NOT_FOUND
- See Also:
-
ER_CANNOT_DEAL_XPATH_TYPE
- See Also:
-
ER_NODESET_NOT_MUTABLE
- See Also:
-
ER_NULL_ERROR_HANDLER
Null error handler- See Also:
-
ER_ZERO_OR_ONE
0 or 1- See Also:
-
ER_TWO_OR_THREE
2 or 3- See Also:
-
ER_SETTING_WALKER_ROOT_TO_NULL
Error! Setting the root of a walker to null!- See Also:
-
ER_NODESETDTM_CANNOT_ITERATE
This NodeSetDTM can not iterate to a previous node!- See Also:
-
ER_NODESET_CANNOT_ITERATE
This NodeSet can not iterate to a previous node!- See Also:
-
ER_NODESETDTM_CANNOT_INDEX
This NodeSetDTM can not do indexing or counting functions!- See Also:
-
ER_NODESET_CANNOT_INDEX
This NodeSet can not do indexing or counting functions!- See Also:
-
ER_CANNOT_CALL_SETSHOULDCACHENODE
Can not call setShouldCacheNodes after nextNode has been called!- See Also:
-
ER_ONLY_ALLOWS
{0} only allows {1} arguments- See Also:
-
ER_UNKNOWN_STEP
Programmer's assertion in getNextStepPos: unknown stepType: {0}- See Also:
-
ER_EXPECTED_REL_LOC_PATH
Problem with RelativeLocationPath- See Also:
-
ER_EXPECTED_LOC_PATH
Problem with LocationPath- See Also:
-
ER_EXPECTED_LOC_PATH_AT_END_EXPR
- See Also:
-
ER_EXPECTED_LOC_STEP
Problem with Step- See Also:
-
ER_EXPECTED_NODE_TEST
Problem with NodeTest- See Also:
-
ER_EXPECTED_STEP_PATTERN
Expected step pattern- See Also:
-
ER_EXPECTED_REL_PATH_PATTERN
Expected relative path pattern- See Also:
-
ER_XPATH_ERROR
- See Also:
-
ER_CANNOT_OVERWRITE_CAUSE
- See Also:
-
ER_ITERATOR_AXIS_NOT_IMPLEMENTED
- See Also:
-
ER_ITERATOR_CLONE_NOT_SUPPORTED
- See Also:
-
ER_UNKNOWN_AXIS_TYPE
- See Also:
-
ER_NO_DTMIDS_AVAIL
- See Also:
-
ER_NOT_SUPPORTED
- See Also:
-
ER_NODE_NON_NULL
- See Also:
-
ER_COULD_NOT_RESOLVE_NODE
- See Also:
-
ER_SELF_CAUSATION_NOT_PERMITTED
- See Also:
-
ER_METHOD_NOT_SUPPORTED
- See Also:
-
ER_AXIS_TRAVERSER_NOT_SUPPORTED
- See Also:
-
BAD_CODE
Field BAD_CODE- See Also:
-
FORMAT_FAILED
Field FORMAT_FAILED- See Also:
-
-
Constructor Details
-
XPATHErrorResources
public XPATHErrorResources()
-
-
Method Details
-
getContents
- Specified by:
getContentsin classListResourceBundle
-