Package com.sk89q.worldedit
Class WorldEditException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sk89q.worldedit.WorldEditException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AuthorizationException,- DisallowedItemException,- EmptyClipboardException,- FilenameException,- IncompleteRegionException,- InputParseException,- InsufficientArgumentsException,- InvalidComponentException,- InvalidToolBindException,- MaxChangedBlocksException,- MaxRadiusException,- MissingWorldException,- NotABlockException,- OutsideWorldBoundsException,- RadiusLimitException,- RegionOperationException,- UnknownDirectionException,- UnknownItemException,- WorldUnloadedException
Parent for all WorldEdit exceptions.
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreate a new exception.protectedWorldEditException(com.sk89q.worldedit.util.formatting.text.Component message) Create a new exception with a message.protectedWorldEditException(com.sk89q.worldedit.util.formatting.text.Component message, Throwable cause) Create a new exception with a message and a cause.protectedWorldEditException(String message) Deprecated.Use component versionprotectedWorldEditException(String message, Throwable cause) Deprecated.Use component versionprotectedWorldEditException(Throwable cause) Create a new exception with a cause.
- 
Method SummaryModifier and TypeMethodDescriptioncom.sk89q.worldedit.util.formatting.text.ComponentGet the message of this exception as a rich text component.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
WorldEditExceptionprotected WorldEditException()Create a new exception.
- 
WorldEditExceptionDeprecated.Use component versionCreate a new exception with a message.- Parameters:
- message- the message
 
- 
WorldEditExceptionprotected WorldEditException(com.sk89q.worldedit.util.formatting.text.Component message) Create a new exception with a message.- Parameters:
- message- the message
 
- 
WorldEditExceptionDeprecated.Use component versionCreate a new exception with a message and a cause.- Parameters:
- message- the message
- cause- the cause
 
- 
WorldEditExceptionprotected 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
 
- 
WorldEditExceptionCreate a new exception with a cause.- Parameters:
- cause- the cause
 
 
- 
- 
Method Details- 
getRichMessagepublic com.sk89q.worldedit.util.formatting.text.Component getRichMessage()Get the message of this exception as a rich text component.- Returns:
- The rich message
 
 
-