Handling Errors


Quiz

Nice work! You got 100% correct. Please review your answers.

  1. Refer to the exhibits. The main flow has an On Error Continue scope. In the Configuration global element, default error handler is set to globalErrorHandler.

    A web client makes an HTTP GET request to the flow's HTTP Listener. The Is number validator then throws an error with message "Validate - Payload is an Integer". 

    What response message is returned to the web client?

    Correct!
  2. Refer to the exhibits. The main flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler. 

    A web client makes an HTTP GET request to the flow's HTTP Listener. The Is number validator then throws an error with message "Validate - Payload is an Integer".  

    What response message is returned to the web client?

    Correct!
  3. Refer to the exhibits. The private flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler. 

    A web client makes an HTTP GET request to the flow's HTTP Listener. The Is number validator in the private flow then throws an error with message "Validate - Payload is an Integer". 

    What response message is returned to the web client?

    Correct!
  4. Refer to the exhibits. The main flow has an On Error Continue scope and the private flow has an On Error Propagate scope. 

    A web client makes an HTTP GET request to the HTTP Listener. The Is number validator in the private flow then throws an error with message "Validate - Payload is an Integer".  

    What response message is returned to the web client?

    Correct!
  5. How can an error scope be configured to catch all errors in the HTTP namespace?

    Answers

    A.

    Type: HTTP
    When:

    B.

    Type: HTTP*
    When:

    C.

    Type:
    When: #[ error.errorType.namespace == "HTTP" ]

    D.

    Type:
    When: #[ contains "HTTP" ]

    Correct!
  6. Refer to the exhibits. The main flow has an On Error Continue scope with type set to HTTP:NOT_FOUND. The Mule application configures globalErrorHandler as its default error handler. 

    A web client posts a request to the HTTP Listener. The Transform Message component then throws a MULE:EXPRESSION error trying to convert the payload to application/xml. 
     
    What response message is returned to the web client?

    Correct!

How well do you think you understood 'Module 10' ?

Nice work! You got 100% correct. Please scroll up to review your answers.

This Attempt

100%Overall Score
N/AConfidence Score
Unable to retrieve grouped courses.