throws Exception instead of catch it in lib