Package com.appiancorp.exceptions
Interface ExceptionHandler
public interface ExceptionHandler
Encapsulates reusable logic for handling exceptions.
-
Method Summary
-
Method Details
-
canHandle
- Returns:
- true if this ExceptionHandler knows how to handle the given Throwable, and false otherwise.
-
handle
Handles the given Throwable. This ExceptionHandler may throw an exception of its own if canHandle(t) returns false.
-