Throw an exception instead of exiting directly