public void wrapThrow(Throwable throwable) {
        if (throwable instanceof Exception) {
            catchUncaught((Exception) throwable);
        } else {
            throw new RuntimeException(throwable);
        }
    }
Remove all method which does not destruct

@throws Throwable
jphp-runtime/src/php/runtime/env/Environment.java