Checks if the given exception is an instance of the specified class.
The exception to check.
The class to check against.
true if the exception is an instance of the specified class, false otherwise.
true
false
Checks if the given exception is an instance of the specified class.