Examples of reasonForFailure()


Examples of org.locationtech.udig.catalog.ServiceExtension2.reasonForFailure()

            try{
                ServiceExtension extension = (ServiceExtension) element.createExecutableExtension("class"); //$NON-NLS-1$
                if( extension instanceof ServiceExtension2 ){
                    ServiceExtension2 e2=(ServiceExtension2) extension;
                    if( params!=null ){
                        data.add(new Data( id, name, e2.reasonForFailure(params)) );
                    }else{
                        for( URL url : urls ) {
                            data.add(new Data( id, name, e2.reasonForFailure(url), url) );
                        }
                    }
View Full Code Here

Examples of org.locationtech.udig.catalog.ServiceExtension2.reasonForFailure()

                    ServiceExtension2 e2=(ServiceExtension2) extension;
                    if( params!=null ){
                        data.add(new Data( id, name, e2.reasonForFailure(params)) );
                    }else{
                        for( URL url : urls ) {
                            data.add(new Data( id, name, e2.reasonForFailure(url), url) );
                        }
                    }
                }
                if( data.isEmpty())
                    data.add(new Data(id, name, "Implementation does not provide any debug information"));
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wms.WMSServiceExtension.reasonForFailure()

    public Map<String, Serializable> getParams() {
        try {
            URL location = new URL(url);

            WMSServiceExtension creator = new WMSServiceExtension();
            String errorMessage = creator.reasonForFailure(location);
            if (errorMessage != null) {
                setErrorMessage(errorMessage);
                return Collections.emptyMap();
            } else
                return creator.createParams(location);
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wmsc.WMSCServiceExtension.reasonForFailure()

    public Map<String, Serializable> getParams() {
        try {
            URL location = new URL(url);
           
            WMSCServiceExtension creator = new WMSCServiceExtension();
            String errorMessage=creator.reasonForFailure(location);
            if( errorMessage!=null ){
                setErrorMessage(errorMessage);
                return Collections.emptyMap();
            }else
                return creator.createParams(location);
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wmt.ww.WWServiceExtension.reasonForFailure()

    public Map<String, Serializable> getParams() {
        try {
            URL location = new URL(url);
           
            WWServiceExtension creator = new WWServiceExtension();
            String errorMessage=creator.reasonForFailure(location);
            if( errorMessage!=null ){
                setErrorMessage(errorMessage);
                return null;
                //return Collections.emptyMap();
            }else
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.