throwing

Configures a new problem with error severity, 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