Single Choice
Easy
QYou are to complete the code needed to execute exception handling. You need to display this message. Which will best complete this statement?
___________("An error occurred. Please try again");
ID: #9403
Exception Handling in D365 F&O X++
190 views
Question Info
#9403Q ID
EasyDifficulty
Exception Handling in D365 F&O X++Topic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Justification:
- Info::Exception is not valid as it is not a base enumeration.
- The catch statement is not used to output a specific message to the end user.
- The error keyword is used to display an error message to the end user. It is often preceded by the “throw” keyword in error handling.
- Return is not a valid keyword.
Related Lesson: Code Statements
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic