rethrowing

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

Note: The action should not call the build() method on the builder.

Return

nothing, the method throws an exception