code: public static KbObjectNotFoundException fromThrowable(Throwable cause) {
      return (cause instanceof KbObjectNotFoundException)
                     ? (KbObjectNotFoundException) cause
                     : new KbObjectNotFoundException(cause);
    }
docs: Converts a Throwable to a KbObjectNotFoundException. If the Throwable is a
  KbObjectNotFoundException, it will be passed through unmodified; otherwise, it will be wrapped
  in a new KbObjectNotFoundException.
  
  @param cause the Throwable to convert
  
  @return a KbObjectNotFoundException