cncf / cncf-fuzzing

✨🔐 CNCF Fuzzers
https://cncf.io/projects
Apache License 2.0
111 stars 41 forks source link

keycloak: Fix internal exception #443

Closed arthurscchan closed 1 year ago

arthurscchan commented 1 year ago

Totputils method capture the underlying exceptions and throw a Runtime Exception. This PR fixes the exception handling to capture the thrown Runtime Exception and check if it is an expected cause, otherwise, the original RuntimeException are thrown out. This could solve some of the problem by handled and expected exceptions.