Class WorldEditException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sk89q.worldedit.WorldEditException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthorizationException, DisallowedItemException, EmptyClipboardException, FilenameException, IncompleteRegionException, InputParseException, InsufficientArgumentsException, InvalidComponentException, InvalidToolBindException, MaxChangedBlocksException, MaxRadiusException, MissingWorldException, NotABlockException, RegionOperationException, UnknownDirectionException, UnknownItemException, WorldUnloadedException

public abstract class WorldEditException extends Exception
Parent for all WorldEdit exceptions.
See Also:
  • Constructor Details

    • WorldEditException

      protected WorldEditException()
      Create a new exception.
    • WorldEditException

      @Deprecated protected WorldEditException(String message)
      Deprecated.
      Use component version
      Create a new exception with a message.
      Parameters:
      message - the message
    • WorldEditException

      protected WorldEditException(com.sk89q.worldedit.util.formatting.text.Component message)
      Create a new exception with a message.
      Parameters:
      message - the message
    • WorldEditException

      @Deprecated protected WorldEditException(String message, Throwable cause)
      Deprecated.
      Use component version
      Create a new exception with a message and a cause.
      Parameters:
      message - the message
      cause - the cause
    • WorldEditException

      protected WorldEditException(com.sk89q.worldedit.util.formatting.text.Component message, Throwable cause)
      Create a new exception with a message and a cause.
      Parameters:
      message - the message
      cause - the cause
    • WorldEditException

      protected WorldEditException(Throwable cause)
      Create a new exception with a cause.
      Parameters:
      cause - the cause
  • Method Details

    • getRichMessage

      public com.sk89q.worldedit.util.formatting.text.Component getRichMessage()
      Get the message of this exception as a rich text component.
      Returns:
      The rich message