Package org.criticalfailure.torchlight.core.application.entity

Examples of org.criticalfailure.torchlight.core.application.entity.Alert


            return vo;
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.load.object_template.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load object template data for: " + id + ": "
                    + e.getLocalizedMessage(), e);
View Full Code Here


            return vo;
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.load.participant.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load participant data for: " + id + ": "
                    + e.getLocalizedMessage(), e);
View Full Code Here

            return vo;
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.load.resource.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load core campaign data for: " + id + ": "
                    + e.getLocalizedMessage(), e);
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.core.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save core campaign data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.setting.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save setting data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.version.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save version data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.event.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save campaign event data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.library.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save library data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.object_category.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save object category data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

            enc.close();
        }
        catch(Exception e) {
            doSetStatus(CampaignStorageConstants.STORAGE_STATUS_ERROR, e.getLocalizedMessage());

            alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
                    .getString("campaign.storage.local.error.save.object_data.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to save object data: " + e.getLocalizedMessage(), e);
        }
View Full Code Here

TOP

Related Classes of org.criticalfailure.torchlight.core.application.entity.Alert

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.