Не понимаю, как создать метод protected void finalize() throws Throwable.