rethrowing

Configures a new problem using an existing exception as input, reports it, and uses it to throw a new exception.

The spec must specify the problem label and the category. Any additional configuration is optional.

Return

never returns by throwing the exception, but using throw statement at the call site is encouraged to indicate the intent and benefit from local control flow.

Since

8.6