open fun setExcludedExceptions(vararg excludedExceptions: Class<*>): Unit
Set one or more exceptions to be excluded from the exception mappings. Excluded exceptions are checked first and if one of them equals the actual exception, the exception will remain unresolved.