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

Choose the Best Option

Click any option to instantly check if you're correct.

  • A info::exception
  • B catch
  • C error
  • D _error
Correct Answer

Explanation

Justification:

  1. Info::Exception is not valid as it is not a base enumeration.
  2. The catch statement is not used to output a specific message to the end user.
  3. 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.
  4. Return is not a valid keyword.

 

Related Lesson: Code Statements

Share This Question

Challenge a friend or share with your study group.