static Logger log = LoggerFactory.getLogger(ExceptionFactory.class);
public static AppException getNewAppException(Exception exception) {
log.error(exception.getMessage(), exception);
AppException app = new AppException();
app.initCause(exception);
return app;
}
}