- this.getLogger().logTrace("EXIT!"); //NOI18N
- }
-
- /**
- * Getter for logger instance
- *
- * @return Logger instance
- */
- protected LoggerBeanLocal getLogger () {
- return this.logger;
- }
-
- /**
- * Logs an exception
- *
- * @param throwable Throwable
- */
- protected void logException (final Throwable throwable) {
- // Deligate to logger
- this.getLogger().logException(throwable);
- }
-
- /**
- * Logs exception and exits program
- *
- * @param throwable Throwable
- */
- protected void abortProgramWithException (final Throwable throwable) {
- // Log exception
- this.logException(throwable);
-
- // Abort here
- System.exit(1);