Package net.customware.gwt.dispatch.shared

Examples of net.customware.gwt.dispatch.shared.ActionException


            hLocale =
                    localeServiceImpl.validateLocaleByProjectIteration(locale,
                            projectIterationId.getProjectSlug(),
                            projectIterationId.getIterationSlug());
        } catch (ZanataServiceException e) {
            throw new ActionException(e);
        }
        List<Long> sourceIds = action.getSourceIdList();

        log.info("Fetching glossary details for entry{} in locale {}",
                sourceIds, hLocale);
View Full Code Here


                            .validateLocaleByProjectIteration(locale, action
                                    .getWorkspaceId().getProjectIterationId()
                                    .getProjectSlug(), action.getWorkspaceId()
                                    .getProjectIterationId().getIterationSlug());
        } catch (ZanataServiceException e) {
            throw new ActionException(e);
        }

        ArrayList<Long> textFlowIds = action.getTransUnitIdList();
        log.info("Fetching TM details for TFs {} in locale {}", textFlowIds,
                locale);
View Full Code Here

                        action.getProjectSlug(), action.getVersionSlug(),
                        action.getLocaleId(), Identity.instance().getCredentials()
                                .getUsername(), handle);
            }
            catch (Exception e) {
                throw new ActionException(e);
            }

            // NB Keys are currently strings, but this is tied to the
            // implementation
            return new DownloadAllFilesResult(true, taskKey.toString());
View Full Code Here

                localeServiceImpl.getByLocaleId(selectedDetailEntry
                        .getTargetLocale());

        HGlossaryTerm targetTerm = entry.getGlossaryTerms().get(targetLocale);
        if (targetTerm == null) {
            throw new ActionException(
                    "Update failed for glossary term with source content: "
                            + selectedDetailEntry.getSrcLocale()
                            + " and target locale: "
                            + selectedDetailEntry.getTargetLocale());
        } else if (selectedDetailEntry.getTargetVersionNum().compareTo(
                targetTerm.getVersionNum()) != 0) {
            throw new ActionException("Update failed for glossary term "
                    + selectedDetailEntry.getTarget() + " base versionNum "
                    + selectedDetailEntry.getTargetVersionNum()
                    + " does not match current versionNum "
                    + targetTerm.getVersionNum());
        } else {
View Full Code Here

                    .getWorkspaceId().getLocaleId(), action.getWorkspaceId()
                    .getProjectIterationId().getProjectSlug(), action
                    .getWorkspaceId().getProjectIterationId()
                    .getIterationSlug());
        } catch (ZanataServiceException e) {
            throw new ActionException(e);
        }
    }
View Full Code Here

TOP

Related Classes of net.customware.gwt.dispatch.shared.ActionException

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.