caught runtimeexceptions and removed catching throwable