Quantcast
Viewing all articles
Browse latest Browse all 26

Passing List of Exception Types as type parameter to generic method

I’m trying to write a generic helper method that’d call methods and handle exceptions if any. The method should be able to accept a List of acceptable Exception types, and handle them in a specific way. For other type of exceptions, it’ll handle differently. This is a very simplified version of the method public static […]

The post Passing List of Exception Types as type parameter to generic method appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 26

Trending Articles