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
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFaweException
(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
(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
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
-
-
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
-
get
-
fillInStackTrace
Faster exception throwing/handling if you don't fill the stacktrace.- Overrides:
fillInStackTrace
in classThrowable
- Returns:
- a reference to this
Throwable
instance.
-