Amends https://github.com/jenkinsci/file-parameters-plugin/pull/176 to work with my latest Jakarta prototype, which wraps the javax.servlet.ServletException in one layer of jakarta.servlet.ServletException as part of the compatibility code. Rather than attempt to peel back the layers with more null checks, I am simply using a Guava method to get the deepest exception.
Testing done
mvn clean verify now passes on both the default branch and my Jakarta prototype
Amends https://github.com/jenkinsci/file-parameters-plugin/pull/176 to work with my latest Jakarta prototype, which wraps the
javax.servlet.ServletException
in one layer ofjakarta.servlet.ServletException
as part of the compatibility code. Rather than attempt to peel back the layers with more null checks, I am simply using a Guava method to get the deepest exception.Testing done
mvn clean verify
now passes on both the default branch and my Jakarta prototype