Multiple choice technology web 2.0

You can redirect (or) Transfer to a CustomError Page in which block?

  1. Try Block

  2. Catch Block

  3. Finally Block

  4. 2) and 3)

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When an exception occurs in the Try block, execution transitions to the Catch block. Inside the Catch block, you handle the error, where you can redirect or transfer the user to a Custom Error page. The Finally block is for cleanup and executes regardless of errors.