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