Calling System.exit() is dangerous because the import/rebuild may be being run embedded, e.g. within a web container as part of OpenAM.
It's also a bad idea to call Exception#printStackTrace().
Calling System.exit() is dangerous because the import/rebuild may be being run embedded, e.g. within a web container as part of OpenAM.
It's also a bad idea to call Exception#printStackTrace().