code: public R applyOrElse(P1 p1, F1<? super P1, ? extends R> fallback) {
              try {
                  return apply(p1);
              } catch (RuntimeException e) {
                  return fallback.apply(p1);
              }
          }
docs: Applies this partial function to the given argument when it is contained in the function domain.
  Applies fallback function where this partial function is not defined.
  
  @param p1
  the argument this function to be applied
  @param fallback
  the function to be applied to the argument p1 when this function failed with any runtime exception
  @return the result of this function or the fallback function application