throwing
Configures a new problem, reports it, and uses it to throw a new exception.
An exception must be provided in the spec.
The spec must specify the exception, the problem label, and the category. Any additional configuration is optional.
Return
nothing, the method throws an exception
Since
8.6