Interface TypedMessageErrorHandler

  • All Superinterfaces:
    MessageErrorHandler

    public interface TypedMessageErrorHandler
    extends MessageErrorHandler
    A specialization of error handler that explicitly indicates that it is capable of handling one or more types of throwable errors.
    • Method Detail

      • handlesError

        boolean handlesError​(Throwable t)
        Indicates whether the message error handle is capable of handling the specified error.
        Parameters:
        t - the type of error about which to query
        Returns:
        true iff the handle can handle the specified error type