Class WorldEditExceptionConverter

java.lang.Object
com.sk89q.worldedit.internal.command.exception.ExceptionConverterHelper
com.sk89q.worldedit.internal.command.exception.WorldEditExceptionConverter
All Implemented Interfaces:
ExceptionConverter

public class WorldEditExceptionConverter extends ExceptionConverterHelper
converts WorldEdit exceptions and converts them into CommandExceptions.
  • Constructor Details

    • WorldEditExceptionConverter

      public WorldEditExceptionConverter(WorldEdit worldEdit)
  • Method Details

    • convert

      public void convert(NumberFormatException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(IncompleteRegionException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(MissingWorldException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(NoMatchException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      @Deprecated public void convert(InvalidItemException e) throws org.enginehub.piston.exception.CommandException
      Deprecated.
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(DisallowedUsageException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(MaxChangedBlocksException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(MaxBrushRadiusException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(MaxRadiusException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(UnknownDirectionException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(InsufficientArgumentsException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(RegionOperationException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(ExpressionException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(EmptyClipboardException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(InvalidFilenameException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(FilenameResolutionException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(InvalidToolBindException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(FileSelectionAbortedException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(SchematicLoadException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(WorldEditException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException
    • convert

      public void convert(org.enginehub.piston.exception.UsageException e) throws org.enginehub.piston.exception.CommandException
      Throws:
      org.enginehub.piston.exception.CommandException