Examples of initErrorInfo()


Examples of com.volantis.xml.pipeline.sax.ResourceNotFoundException.initErrorInfo()

                MonitoredTransaction.FAILED, urlAsString);
            // need to generate an error event.
            Locator locator = context.getCurrentLocator();
            ResourceNotFoundException error = new ResourceNotFoundException(
                "The URI " + href + " could not be included", locator, e);
            error.initErrorInfo(id, null, null,null);
            target.fatalError(error);
        } catch (RuntimeHttpException e) {
            uridFetchTransaction.stop(
                MonitoredTransaction.FAILED, urlAsString);
            // need to generate an error event.
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.ResourceNotFoundException.initErrorInfo()

                MonitoredTransaction.FAILED, urlAsString);
            // need to generate an error event.
            Locator locator = context.getCurrentLocator();
            ResourceNotFoundException error = new ResourceNotFoundException(
                "The URI " + href + " could not be included", locator, e);
            error.initErrorInfo(id, null, null,null);
            target.fatalError(error);
        }
    }

    /**
 
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.XMLPipelineException.initErrorInfo()

        errorProperties.put(STRING_PROPERTY_NAME, STRING_PROPERTY_VALUE);
        errorProperties.put(INT_PROPERTY_NAME, INT_PROPERTY_VALUE);

        TryProcess process = new TryProcess(null);
        XMLPipelineException e = new XMLPipelineException(ERROR_MESSAGE, null);
        e.initErrorInfo(ERROR_SOURCEID, ERROR_CODEURI, ERROR_CODENAME, errorProperties);
        process.addException(e);
        context.pushObject(process, false);
    }

    protected void tearDown() throws Exception {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.XMLPipelineException.initErrorInfo()

    private void obtainAuthenticationToken() throws SAXException {

        //if there was no data in cache
        if (!canRequestGoogle()) {
            XMLPipelineException error = new XMLPipelineException(EXCEPTION_LOCALIZER.format("gdocs-authentication-too-many-attempts", googleRequestCounter), null);
            error.initErrorInfo(id, null, null, null);
            dynamicProcess.fatalError(error);
        }
       
        if (authData.needsRequest()) {
            googleRequestCounter++;
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.