megfelelő exception kezelés: int doSomething(){ try{ .... } catch (Throwable t) {return 1;} return 0; }