C2040-409

C2040-409 practice questions, page 4 of 5, with answer review and explanations.

Question 16

What is the function of the class com.ibm.xsp.exception.XSPExceptionInfo?

  1. returns the component that returned the error
  2. returns the operator passed on the failing call
  3. allows the developer to specify special error conditions
  4. allows the runtime to return additional information about the error

Question 17

What data does the Remote Debugger Utility window include?

  1. the program call stack of the agent at the time of error
  2. the line number of the agent running at the time of error
  3. breakpoints, program calls, print output and agent variables
  4. program calls, print output and the UNID of each document written by the agent

Question 18

What does the notes.ini parameter javaenabledebug=1 do?

  1. debug Java agents from the IBM Domino Designer client
  2. debug Eclipse problems in the IBM Domino Designer client
  3. enables debug for Java agents from the IBM Domino Designer client
  4. opens a debug window in the IBM Domino Designer client when running any Java code

Question 19

Heather is developing a new form in her application. Which steps will allow Heather to insert an existing subform into her new form?

  1. Heather should just click on the subform in the Applications navigator and drag the subform to the place on the form she wants it to be.
  2. While the cursor is at the correct spot in the form, Heather should choose Create from the menu, then Resource > Insert Subform, and thenchoose the correct subform.
  3. Heather should include the name of the subform she wants the form to use on the "subforms" field of the Advanced tab of the form properties.She can drag the subform to the correct spot on the form once it appears in the form.
  4. Heather should open the required subform and include the name of the form she wants the subform included in on the "Forms" field of theAdvanced tab of the

Question 20

Which statement is true with regards to the usage of WebQuerySave event?

  1. runs the agent after field input validation formulas are run and after the document is actually saved to disk
  2. runs the agent before field input validation formulas are run and after the document is actually saved to disk
  3. runs the agent after field input validation formulas are run and before the document is actually saved to disk
  4. runs the agent before field input validation formulas are run and before the document is actually saved to disk