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

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


                    campaign.setStorageCredentials(dialog.getCampaignStorageCredentials());
                }
                catch(Exception e) {
                    logger.error("Exception caught while setting campaign properties: " + e.getLocalizedMessage(), e);

                    alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), e
                            .getLocalizedMessage()));

                    return false;
                }
            }
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.core.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load core campaign data for: " + guid + ": "
                    + 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.setting.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load setting 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.version.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load version 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.event.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load campaign event 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.library.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load library 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.object_category.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load object category 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.object_data.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException(
                    "Unable to load object 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.object_instance.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load object instance 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.object_property.text")
                    + ": " + e.getLocalizedMessage()));

            throw new CampaignStorageException("Unable to load object property data for: " + id + ": "
                    + 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.