Class SuggestInputParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sk89q.worldedit.WorldEditException
com.sk89q.worldedit.extension.input.InputParseException
com.fastasyncworldedit.core.command.SuggestInputParseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionSuggestInputParseException
(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) Deprecated, for removal: This API element is subject to removal in a future version.SuggestInputParseException
(InputParseException other, Supplier<List<String>> getSuggestions) SuggestInputParseException
(com.sk89q.worldedit.util.formatting.text.Component message, Supplier<List<String>> getSuggestions) Create a new SuggestInputParseException instanceDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestInputParseException
getCause()
static SuggestInputParseException
Deprecated, for removal: This API element is subject to removal in a future version.static SuggestInputParseException
of
(InputParseException other, Supplier<List<String>> getSuggestions) static SuggestInputParseException
static SuggestInputParseException
Deprecated, for removal: This API element is subject to removal in a future version.static SuggestInputParseException
Deprecated, for removal: This API element is subject to removal in a future version.UnusedMethods inherited from class com.sk89q.worldedit.WorldEditException
getRichMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SuggestInputParseException
@Deprecated(forRemoval=true, since="2.6.2") public SuggestInputParseException(String msg, String prefix, Supplier<List<String>> getSuggestions) Deprecated, for removal: This API element is subject to removal in a future version. -
SuggestInputParseException
@Deprecated(forRemoval=true, since="2.6.2") public SuggestInputParseException(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) Deprecated, for removal: This API element is subject to removal in a future version. -
SuggestInputParseException
public SuggestInputParseException(com.sk89q.worldedit.util.formatting.text.Component message, Supplier<List<String>> getSuggestions) Create a new SuggestInputParseException instance- Parameters:
message
- Message to sendgetSuggestions
- Supplier of list of suggestions to give to user- Since:
- 2.6.2
-
SuggestInputParseException
-
-
Method Details
-
of
@Deprecated(forRemoval=true, since="2.6.2") public static SuggestInputParseException of(Throwable other, String prefix, Supplier<List<String>> getSuggestions) Deprecated, for removal: This API element is subject to removal in a future version. -
of
@Deprecated(forRemoval=true, since="2.6.2") public static SuggestInputParseException of(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) Deprecated, for removal: This API element is subject to removal in a future version. -
of
-
of
public static SuggestInputParseException of(InputParseException other, Supplier<List<String>> getSuggestions) -
get
-
of
-
getCause
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getSuggestions
-
prepend
Deprecated, for removal: This API element is subject to removal in a future version.Unused
-
SuggestInputParseException(InputParseException, Supplier)