The following exception structures are defined to handle the various interactive
questions that Fluent may respond with if an incomplete command is issued using
doMenuCommand() or
doMenuCommandToString(). For a description of how to use
these in your client application, see Using Interactive Prompting.
exception EYesNoQuestion
{
long questionType; # An integer for the type of question:
# 1 for this type
string questionPromptWithDefaultAnswer; # The prompt as it would be given in Fluent
# with the default given in square brackets
string defaultAnswer; # The default answer by itself
string questionHelp; # A help message if applicable
string questionMessage; # The message Fluent would present if the answer
# given was invalid
}
exception EReadUnquotedString
{
long questionType; # An integer for the type of question:
# 2 for this type
string questionPrompt; # The prompt as it would be given in Fluent
# (without the default answer)
string defaultAnswer; # The default answer
string questionHelp; # A help message if applicable
string questionMessage; # The message Fluent would present
# if the answer given was invalid
};
exception EReadQGenericQuestion
{
long questionType; # An integer for the type of question:
# 3 for this type
string questionPromptWithDefaultAnswer; # The prompt as it would be given in Fluent
# with the default given in square brackets
string rawDefaultAnswer; # The default answer
string questionHelp; # A help message if applicable
string questionMessage; # The message Fluent would present
# if the answer given was invalid
};
exception EMenuGetQuestion
{
long questionType; # An integer for the type of question:
# 4 for this type
string questionPrompt; # The prompt as it would be given in Fluent
# with the default given in square brackets
string questionHelp; # A help message if applicable
string questionMenu; # A list of items that can be chosen from
};
exception EFluentGenericError
{
long errorType; # The type of error being returned
string questionPrompt; # A prompt for user input
string questionHelp; # A help message if applicable
string questionMenu; # A list of items that can be chosen from
};