Examples of AbortException


Examples of hudson.AbortException

        // Expand matrix and build variables in the device ID and command line args
        final String device = expandVariables(build, listener, udid);

        iOSDevice dev = devices.getDevice(device);
        if (dev == null) {
            throw new AbortException("No such device: "+device);
        }

        FilePath ws = build.getWorkspace();
        FilePath[] files = ws.child(path).exists() ? new FilePath[]{ws.child(path)} : ws.list(path);
        if (files.length == 0) {
View Full Code Here

Examples of hudson.AbortException

    public Latch(int n) {
        this.n = n;
    }

    public synchronized void abort(Throwable cause) {
        interrupted = new AbortException();
        if (cause!=null)
            interrupted.initCause(cause);
        notifyAll();
    }
View Full Code Here

Examples of hudson.maven.agent.AbortException

        @Override
        void preExecute(MavenProject project, MojoInfo info) throws IOException, InterruptedException, AbortException {
            for (MavenReporter r : reporters.get(moduleName))
                if(!r.preExecute(buildProxy,project,info,listener))
                    throw new AbortException(r+" failed");

            startTime = System.currentTimeMillis();
        }
View Full Code Here

Examples of hudson.maven.agent.AbortException

        void postExecute(MavenProject project, MojoInfo info, Exception exception) throws IOException, InterruptedException, AbortException {
            executedMojos.add(new ExecutedMojo(info,System.currentTimeMillis()-startTime));

            for (MavenReporter r : reporters.get(moduleName))
                if(!r.postExecute(buildProxy,project,info,listener,exception))
                    throw new AbortException(r+" failed");
        }
View Full Code Here

Examples of hudson.maven.agent.AbortException

        @Override
        void onReportGenerated(MavenProject project, MavenReportInfo report) throws IOException, InterruptedException, AbortException {
            for (MavenReporter r : reporters.get(moduleName))
                if(!r.reportGenerated(buildProxy,project,report,listener))
                    throw new AbortException(r+" failed");
        }
View Full Code Here

Examples of hudson.maven.agent.AbortException

        @Override
        void preModule(MavenProject project) throws InterruptedException, IOException, AbortException {
            for (MavenReporter r : reporters.get(moduleName))
                if(!r.enterModule(buildProxy,project,listener))
                    throw new AbortException(r+" failed");
        }
View Full Code Here

Examples of hudson.maven.agent.AbortException

        @Override
        void postModule(MavenProject project) throws InterruptedException, IOException, AbortException {
            for (MavenReporter r : reporters.get(moduleName))
                if(!r.leaveModule(buildProxy,project,listener))
                    throw new AbortException(r+" failed");
        }
View Full Code Here

Examples of mondrian.rolap.agg.SegmentCacheManager.AbortException

                                    }
                                    if (!atLeastOneActive) {
                                        // There are no segments to load.
                                        // Throw this so that the segment thread
                                        // knows to stop.
                                        throw new AbortException();
                                    }
                                }
                                return null;
                            }
                            public Locus getLocus() {
View Full Code Here

Examples of org.apache.pivot.util.concurrent.AbortException

        @Override
        public ArrayList<File> execute() {
            FileBrowser fileBrowser = (FileBrowser)getComponent();
            File rootDirectory = fileBrowser.getRootDirectory();
            if (abort) {
                throw new AbortException();
            }

            File[] files = rootDirectory.listFiles(new FullFileFilter(includeFileFilter, excludeFileFilter));
            if (abort) {
                throw new AbortException();
            }

            Arrays.sort(files, fileComparator);

            return new ArrayList<File>(files, 0, files.length);
View Full Code Here

Examples of org.apache.pivot.util.concurrent.AbortException

        }

        @Override
        public int read() throws IOException {
            if (abort) {
                throw new AbortException();
            }

            int result = inputStream.read();

            if (result != -1) {
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.