Package io.quarkus.qute
Enum Class ParserError
- All Implemented Interfaces:
ErrorCode,Serializable,Comparable<ParserError>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription{data: }{foo.baz[}{fo\to}{foo[bar]}{foo.baz()(}{#include /}{#foo test /}and no helper registered forfoo{# foo=1 /}{#if test}Hello{#else}Hi{/elsa}{/if}{#if test}Hello {name}!{/for}{#if true}Bye...{/if} Hello {/if}{name{#if test}Hello {name}{#if 'foo is null}{/}{#if (foo || bar}{/} -
Method Summary
Modifier and TypeMethodDescriptiongetName()Implementations are encouraged to use a prefix for a group of related problems, i.e.static ParserErrorReturns the enum constant of this class with the specified name.static ParserError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERAL_ERROR
-
INVALID_IDENTIFIER
{fo\to} -
EMPTY_EXPRESSION
{data: } -
MANDATORY_SECTION_PARAMS_MISSING
{#include /} -
UNTERMINATED_STRING_LITERAL
{#if 'foo is null}{/} -
NO_SECTION_NAME
{# foo=1 /} -
NO_SECTION_HELPER_FOUND
{#foo test /}and no helper registered forfoo -
SECTION_END_DOES_NOT_MATCH_START
{#if test}Hello {name}!{/for} -
SECTION_BLOCK_END_DOES_NOT_MATCH_START
{#if test}Hello{#else}Hi{/elsa}{/if} -
SECTION_START_NOT_FOUND
{#if true}Bye...{/if} Hello {/if} -
INVALID_PARAM_DECLARATION
-
UNTERMINATED_SECTION
{#if test}Hello {name} -
UNTERMINATED_EXPRESSION
{name -
UNTERMINATED_STRING_LITERAL_OR_COMPOSITE_PARAMETER
{#if (foo || bar}{/} -
INVALID_VIRTUAL_METHOD
{foo.baz()(} -
INVALID_BRACKET_EXPRESSION
{foo.baz[} -
INVALID_VALUE_BRACKET_NOTATION
{foo[bar]}
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Description copied from interface:ErrorCodeImplementations are encouraged to use a prefix for a group of related problems, i.e. the parser error codes start withPARSER_.
-