Class DisallowedUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sk89q.worldedit.WorldEditException
com.sk89q.worldedit.extension.input.InputParseException
com.sk89q.worldedit.extension.input.DisallowedUsageException
- All Implemented Interfaces:
Serializable
Thrown when usage is disallowed.
- See Also:
-
Constructor Summary
ConstructorDescriptionDisallowedUsageException
(com.sk89q.worldedit.util.formatting.text.Component message) Create with a message.DisallowedUsageException
(com.sk89q.worldedit.util.formatting.text.Component message, Throwable cause) Create with a message and a cause.DisallowedUsageException
(String message) Deprecated.DisallowedUsageException
(String message, Throwable cause) Deprecated. -
Method Summary
Methods inherited from class com.sk89q.worldedit.WorldEditException
getRichMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DisallowedUsageException
public DisallowedUsageException(com.sk89q.worldedit.util.formatting.text.Component message) Create with a message.- Parameters:
message
- the message
-
DisallowedUsageException
Deprecated.Create with a message.- Parameters:
message
- the message
-
DisallowedUsageException
public DisallowedUsageException(com.sk89q.worldedit.util.formatting.text.Component message, Throwable cause) Create with a message and a cause.- Parameters:
message
- the messagecause
- the cause
-
DisallowedUsageException
Deprecated.Create with a message and a cause.- Parameters:
message
- the messagecause
- the cause
-