Package org.springframework.shell
Class CommandNotFound
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.shell.CommandNotFound
- All Implemented Interfaces:
- Serializable
A result to be handled by the 
ResultHandler when no command could be mapped to user input- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCommandNotFound(List<String> words) CommandNotFound(List<String> words, Map<String, CommandRegistration> registrations, String text) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
CommandNotFound
- 
CommandNotFound
 
- 
- 
Method Details- 
getMessage- Overrides:
- getMessagein class- Throwable
 
- 
getWordsGets awordsin this exception.- Returns:
- a words
 
- 
getRegistrationsGets command registrations known when this error was created.- Returns:
- known command registrations
 
- 
getTextGets a raw text input.- Returns:
- raw text input
 
 
-