Class InvocationCommandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.spongepowered.api.util.ComponentMessageException
-
- org.spongepowered.api.command.exception.CommandException
-
- org.spongepowered.api.command.exception.InvocationCommandException
-
- All Implemented Interfaces:
java.io.Serializable
,ComponentMessageThrowable
public class InvocationCommandException extends CommandException
Thrown when invocation of a command fails, wrapping the exception that is thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvocationCommandException(Component message, java.lang.Throwable cause)
Constructs a new exception with the given message and the given cause.
-
Method Summary
-
Methods inherited from class org.spongepowered.api.command.exception.CommandException
shouldIncludeUsage
-
Methods inherited from class org.spongepowered.api.util.ComponentMessageException
componentMessage, getLocalizedMessage, getMessage
-
-
-
-
Constructor Detail
-
InvocationCommandException
public InvocationCommandException(Component message, java.lang.Throwable cause)
Constructs a new exception with the given message and the given cause.- Parameters:
message
- The detail messagecause
- The cause
-
-