|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.prompts.InvalidPromptValueException
public class InvalidPromptValueException
Exception thrown when an invalid value is set on a prompt.
PromptValues,
ValidationEntry,
Serialized Form| Constructor Summary | |
|---|---|
InvalidPromptValueException(PromptDefinitionInterface promptDefinition,
java.lang.Object value,
java.util.Locale inputLocale,
java.util.Collection<ValidationEntry> promptValueValidationErrors)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.Locale |
getInputLocale()
Returns the user's locale for the value that was entered. |
java.lang.String |
getMessage()
This override adds the custom error message found on the prompt to the end of the message string. |
PromptDefinitionInterface |
getPromptDefinition()
Returns the prompt which had the invalid value set on it. |
java.util.Collection<ValidationEntry> |
getPromptValueValidationErrors()
Returns a Collection of errors indicating why the value was invalid. |
java.lang.Object |
getValue()
Returns the invalid value that was set on the prompt. |
void |
setLogOutput(java.lang.String log)
|
| Constructor Detail |
|---|
public InvalidPromptValueException(PromptDefinitionInterface promptDefinition,
java.lang.Object value,
java.util.Locale inputLocale,
java.util.Collection<ValidationEntry> promptValueValidationErrors)
promptDefinition - The definition whose value is invalid. May not be null.value - The value that was not valid.inputLocale - The locale that the value was entered in.promptValueValidationErrors - A collection of errors indicating why the value was invalid.| Method Detail |
|---|
public PromptDefinitionInterface getPromptDefinition()
public java.lang.Object getValue()
public java.util.Locale getInputLocale()
public java.util.Collection<ValidationEntry> getPromptValueValidationErrors()
ValidationEntrypublic java.lang.String getMessage()
getMessage in class java.lang.ThrowableThrowable.getMessage()public final void setLogOutput(java.lang.String log)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||