public class InputRequiredException extends Exception
DatabaseUpdater
to signal that a given update requires input from the user.Modifier and Type | Class and Description |
---|---|
static class |
InputRequiredException.DATATYPE
Required input will be in one of these forms
|
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
InputRequiredException(Map<String,InputRequiredException.DATATYPE> requiredInput)
Common constructor taking in a message to give the user some context as to where/why the
authentication failed.
|
Modifier and Type | Method and Description |
---|---|
Map<String,InputRequiredException.DATATYPE> |
getRequiredInput()
The user prompts and datatype for each question that the user has to provide input for
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final long serialVersionUID
public InputRequiredException(Map<String,InputRequiredException.DATATYPE> requiredInput)
requiredInput
- a list of questions that need to be answered in the form question, typepublic Map<String,InputRequiredException.DATATYPE> getRequiredInput()
Copyright © 2024 OpenMRS Inc.. All rights reserved.