require exceptions module in main