public class ExpectedLiteralException extends InvalidValueException
LiteralNode was expected, but found
a different literal.| Constructor and Description |
|---|
ExpectedLiteralException(@NotNull java.lang.String input,
@NotNull LiteralNode<CommandActor> node) |
| Modifier and Type | Method and Description |
|---|---|
<A extends CommandActor> |
node()
Returns the literal node that we were trying to match with
|
inputpublic ExpectedLiteralException(@NotNull
@NotNull java.lang.String input,
@NotNull
@NotNull LiteralNode<CommandActor> node)
@NotNull public <A extends CommandActor> @NotNull LiteralNode<A> node()
A - The actor type