Why is it expensive to use objects for exception?

Why is it expensive to use objects for exception? Correct Answer Exception object is created only if an error actually happens

  A) Exception object is created only if an error actually happens

If an error occurs in program, then only exception object is created otherwise, It will not be created. So it’s expensive to use in the program.

Related Questions

Why is it expensive to use objects for the exception?