Examples of ExecutionProblem


Examples of org.globus.workspace.client_core.ExecutionProblem

            CloudClientUtil.printCurrent(workspaces,
                                         this.print,
                                         this.args.getHistoryDirectory(),
                                         this.statusServiceEPR);
        } catch (WorkspaceStatusFault e) {
            throw new ExecutionProblem(e.getMessage(), e);
        } catch (ParameterProblem e) {
            throw new ExecutionProblem(e.getMessage(), e);
        }

        CommonPrint.printDebugSectionEnd(this.print, sectionTitle);
    }
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

        final String imageURL;
        try {
            imageURL = this.repoUtil.getDerivedImageURL(imageName);
        } catch (Exception e) {
            throw new ExecutionProblem("Problem with image name '" +
                    imageName + "': " + e.getMessage(), e);
        }

        final URI imageURI;
        try {
            imageURI = new URI(imageURL);
        } catch (URI.MalformedURIException e) {
            throw new ExecutionProblem(e.getMessage(), e);
        }

        final String[] associations = {this.args.getMetadata_association()};
        final String[] nicnames = {this.args.getMetadata_nicName()};
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

            final String imageURL;
            try {
                imageURL = this.repoUtil.getDerivedImageURL(imageName);
            } catch (Exception e) {
                throw new ExecutionProblem("Problem with image name '" +
                        imageName + "': " + e.getMessage(), e);
            }

            final URI imageURI;
            try {
                imageURI = new URI(imageURL);
            } catch (URI.MalformedURIException e) {
                throw new ExecutionProblem(e.getMessage(), e);
            }

            // runName (3rd method paramater, being set to null) will be set
            // in startWorkspaceCluster once rundir is known
            metadatas[i] =
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

        }
    }

    void validateClusterMembersForCtxClient() throws ExecutionProblem {
        if (this.clusterMembers == null) {
            throw new ExecutionProblem("no clusterMembers provided");
        }
        for (ClusterMember member : this.clusterMembers) {
            if (member == null) {
                throw new IllegalStateException(
                        "valid clusterMembers must be present here");
            }

            final String imageName = member.getImageName();
            if (imageName == null || imageName.trim().length() == 0) {
                throw new ExecutionProblem("No AMI in cluster file");
            }

        }

    }
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

        } catch (ExitNow e) {
            throw e;
        } catch (BaseFaultType e) {
            final String err = CommonStrings.faultStringOrCommonCause(e);
            throw new ExecutionProblem(err, e);
        }
    }
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

        try {
            this._runImpl();
        } catch (BaseFaultType e) {
            final String err = CommonStrings.faultStringOrCommonCause(e);
            throw new ExecutionProblem(err, e);
        }
    }
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

        try {
            this._runImpl();
        } catch (BaseFaultType e) {
            final String err = CommonStrings.faultStringOrCommonCause(e);
            throw new ExecutionProblem(err, e);
        }
    }
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

                throw new IllegalStateException(
                        "there is no port type to destroy with");
            }
        } catch (BaseFaultType e) {
            final String err = CommonStrings.faultStringOrCommonCause(e, type);
            throw new ExecutionProblem(err, e);
        }

        if (this.pr.enabled()) {
            if (this.pr.useThis()) {
                final String msg = " destroyed.";
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

                        "there is no port type to inject with");
            }
        } catch (BaseFaultType e) {
            final String err =
                    CommonStrings.faultStringOrCommonCause(e, "context");
            throw new ExecutionProblem(err, e);
        }

        if (this.pr.enabled()) {
            if (this.pr.useThis()) {
                final String msg = " done.";
View Full Code Here

Examples of org.globus.workspace.client_core.ExecutionProblem

                        "there is no port type to call done/launch with");
            }
        } catch (BaseFaultType e) {
            final String err =
                    CommonStrings.faultStringOrCommonCause(e, "context");
            throw new ExecutionProblem(err, e);
        }

        if (this.pr.enabled()) {
            if (this.pr.useThis()) {
                final String msg = " done.";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.