Uses of Class
com.github.rvesse.airline.prompts.errors.PromptException
-
Packages that use PromptException Package Description com.github.rvesse.airline.prompts com.github.rvesse.airline.prompts.errors com.github.rvesse.airline.prompts.matchers -
-
Uses of PromptException in com.github.rvesse.airline.prompts
Methods in com.github.rvesse.airline.prompts that throw PromptException Modifier and Type Method Description int
Prompt. promptForKey()
Prompts for a single keyjava.lang.String
Prompt. promptForLine()
Prompts for a line of inputTOption
Prompt. promptForOption(boolean secure)
Prompts for optionchar[]
Prompt. promptForSecure()
Prompts for a secure input line<T> T
Prompt. promptForValue(java.lang.Class<T> cls, boolean secure)
Prompts for a valueprotected <T> T
Prompt. waitForPromptResponse(java.util.concurrent.Future<T> future)
Wait for a prompt response -
Uses of PromptException in com.github.rvesse.airline.prompts.errors
Subclasses of PromptException in com.github.rvesse.airline.prompts.errors Modifier and Type Class Description class
PromptTimeoutException
-
Uses of PromptException in com.github.rvesse.airline.prompts.matchers
Methods in com.github.rvesse.airline.prompts.matchers that return PromptException Modifier and Type Method Description static PromptException
MatcherUtils. ambiguousResponse(java.lang.String response)
Provides an error indicating that the response was ambiguous i.e.static PromptException
MatcherUtils. invalidResponse(java.lang.String response)
Provides an error indicating that the response was invalidMethods in com.github.rvesse.airline.prompts.matchers that throw PromptException Modifier and Type Method Description TOption
DefaultMatcher. match(Prompt<TOption> prompt, java.lang.String response)
TOption
IndexMatcher. match(Prompt<TOption> prompt, java.lang.String response)
TOption
PromptOptionMatcher. match(Prompt<TOption> prompt, java.lang.String response)
Matches the response to an option provided by the promptTOption
ValueMatcher. match(Prompt<TOption> prompt, java.lang.String response)
-