Package org.cactoos

Interface Fallback<X>

    • Method Detail

      • support

        int support​(Throwable exception)
        Calculate level of support of the given exception type.
        Parameters:
        exception - Exception
        Returns:
        Level of support: greater or equals to 0 if the target is supported and Integer.MIN_VALUE otherwise