Class VoxelCommandElementParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.thevoxelbox.voxelsniper.command.argument.VoxelCommandElementParseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionVoxelCommandElementParseException
(String input, com.sk89q.worldedit.util.formatting.text.Component errorMessage) Creates a voxel comment element parse exception. -
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.util.formatting.text.Component
Return the error message.getInput()
Return the input.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VoxelCommandElementParseException
public VoxelCommandElementParseException(String input, com.sk89q.worldedit.util.formatting.text.Component errorMessage) Creates a voxel comment element parse exception.- Parameters:
input
- the inputerrorMessage
- the error message- Since:
- 3.0.0
-
-
Method Details
-
getInput
Return the input.- Returns:
- the input
- Since:
- 3.0.0
-
getErrorMessage
public com.sk89q.worldedit.util.formatting.text.Component getErrorMessage()Return the error message.- Returns:
- the error message
- Since:
- 3.0.0
-