Class FaweException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.fastasyncworldedit.core.internal.exception.FaweException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FaweBlockBagException
,FaweClipboardVersionMismatchException
,FaweSmallEditUnsupportedException
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFaweException
(com.sk89q.worldedit.util.formatting.text.Component reason) New instance.FaweException
(com.sk89q.worldedit.util.formatting.text.Component reason, FaweException.Type type) New instance of a givenFaweException.Type
FaweException
(com.sk89q.worldedit.util.formatting.text.Component reason, FaweException.Type type, boolean ignorable) New instance of a givenFaweException.Type
FaweException
(String reason) New instance. -
Method Summary
Modifier and TypeMethodDescriptionFaster exception throwing/handling if you don't fill the stacktrace.static FaweException
com.sk89q.worldedit.util.formatting.text.Component
getType()
Get theFaweException.Type
boolean
If an edit can continue if this exception is caught, e.g.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
_enableQueue
-
_disableQueue
-
-
Constructor Details
-
FaweException
New instance. Defaults toFaweException.Type.OTHER
. -
FaweException
public FaweException(com.sk89q.worldedit.util.formatting.text.Component reason) New instance. Defaults toFaweException.Type.OTHER
. -
FaweException
public FaweException(com.sk89q.worldedit.util.formatting.text.Component reason, FaweException.Type type) New instance of a givenFaweException.Type
-
FaweException
public FaweException(com.sk89q.worldedit.util.formatting.text.Component reason, FaweException.Type type, boolean ignorable) New instance of a givenFaweException.Type
- Parameters:
ignorable
- if an edit can continue if this exception is caught, e.g. byLimitExtent
- Since:
- 2.7.0
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getComponent
public com.sk89q.worldedit.util.formatting.text.Component getComponent() -
getType
Get theFaweException.Type
- Returns:
- the
FaweException.Type
-
ignorable
public boolean ignorable()If an edit can continue if this exception is caught, e.g. byLimitExtent
- Since:
- 2.7.0
-
get
-
fillInStackTrace
Faster exception throwing/handling if you don't fill the stacktrace.- Overrides:
fillInStackTrace
in classThrowable
- Returns:
- a reference to this
Throwable
instance.
-