code: public static RuntimeException asRuntime(Throwable e) {
  		if (e instanceof RuntimeException) {
  			return (RuntimeException) e;
  		} else {
  			return new WrappedAsRuntimeException(e);
  		}
  	}
docs: Casts or wraps the given exception to be a RuntimeException.