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

public class VoxelCommandElementParseException extends IllegalArgumentException
See Also:
  • 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 input
      errorMessage - the error message
      Since:
      3.0.0
  • Method Details

    • getInput

      public String 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