Replace throwable catch by exception