Package org.nimbustools.api.services.rm

Examples of org.nimbustools.api.services.rm.ManageException


   
    private SpotRequestInfo getSpotRequest(AsyncRequest siReq) throws ManageException {
        try {
            return dataConvert.getSpotRequest(siReq);
        } catch (CannotTranslateException e) {
            throw new ManageException(e.getMessage(), e);
        }
    }   
View Full Code Here


   
    private RequestInfo getRequestInfo(AsyncRequest backfillReq) throws ManageException {
        try {
            return dataConvert.getRequestInfo(backfillReq);
        } catch (CannotTranslateException e) {
            throw new ManageException(e.getMessage(), e);
        }
    }   
View Full Code Here

                                          String slotid,
                                          String contact)
                            throws ManageException {

        if (slotid == null) {
            throw new ManageException("slotid must be non-null");
        }
        if (slotid.length() == 0) {
            throw new ManageException("slotid must be non-empty");
        }
        if (contact == null) {
            throw new ManageException("contact must be non-null");
        }
        if (contact.length() == 0) {
            throw new ManageException("contact must be non-empty");
        }

        final ArrayList cmd = new ArrayList(12);

        cmd.add("--reserveslot");
View Full Code Here

                                     boolean trace,
                                     String configpath)
            throws ManageException {

        if (quiet && (verbose || trace)) {
            throw new ManageException("only one output verbosity " +
                    "selector should be passed in == true");
        }

        if (verbose && trace) {
            throw new ManageException("only one output verbosity " +
                    "selector should be passed in == true");
        }

        final ArrayList cmd = new ArrayList(4);
View Full Code Here

            this.topics.addTopic(this.statusTopic);
            this.topics.addTopic(
                    new SimpleTopic(WSRFConstants.TERMINATION_TOPIC));

        } catch (Exception e) {
            throw new ManageException(e.getMessage(), e);
        }

        final CurrentState state = this.getCurrentState();
        if (state == null) {
View Full Code Here

TOP

Related Classes of org.nimbustools.api.services.rm.ManageException

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.