Package org.incendo.cloud.exception
Class NoCommandInLeafException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.incendo.cloud.exception.NoCommandInLeafException
- All Implemented Interfaces:
Serializable
Thrown when a
CommandComponent
that is registered as a leaf node, does not contain an owning Command- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoCommandInLeafException(@NonNull CommandComponent<?> commandComponent) Create a new no command in leaf exception instance -
Method Summary
Modifier and TypeMethodDescriptionReturns the command component.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
commandComponent
Returns the command component.- Returns:
- command component
-