Examples of ExtractionException


Examples of org.apache.any23.extractor.ExtractionException

                            documentURI,
                            mappings,
                            out
                    );
                } catch (MalformedURLException e) {
                    throw new ExtractionException(
                            "Error while processing on subject '" + subject +
                                    "' the itemProp: '" + itemProp + "' "
                    );
                }
            }
View Full Code Here

Examples of org.apache.any23.extractor.ExtractionException

            ExtractionResult out) throws IOException, ExtractionException {
        try {
            parser.processDocument(new URL(extractionContext.getDocumentURI()
                    .toString()), in, out);
        } catch (RDFa11ParserException rpe) {
            throw new ExtractionException("Error while performing extraction.",
                    rpe);
        }
    }
View Full Code Here

Examples of org.apache.any23.extractor.ExtractionException

           
            parser.parse(in, extractionContext.getDocumentURI().stringValue());
        } catch (RDFHandlerException ex) {
            throw new IllegalStateException("Unexpected exception.", ex);
        } catch (RDFParseException ex) {
            throw new ExtractionException("Error while parsing RDF document.", ex, extractionResult);
        }
    }
View Full Code Here

Examples of org.apache.any23.extractor.ExtractionException

    public ExtractionReport extract(ExtractionParameters eps, String documentURI, TripleHandler outputHandler)
    throws IOException, ExtractionException {
        try {
            return extract(eps, createDocumentSource(documentURI), outputHandler);
        } catch (URISyntaxException ex) {
            throw new ExtractionException("Error while extracting data from document URI.", ex);
        }
    }
View Full Code Here

Examples of org.apache.maven.tools.plugin.extractor.ExtractionException

                      request.getProject().getArtifact(), false );
            }
        }
        catch ( IOException e )
        {
            throw new ExtractionException( e.getMessage(), e );
        }

        return mojoAnnotatedClasses;
    }
View Full Code Here

Examples of org.apache.maven.tools.plugin.extractor.ExtractionException

                                                        componentAnnotationContent );
            }
        }
        catch ( ReflectorException e )
        {
            throw new ExtractionException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.tools.plugin.extractor.ExtractionException

            return discoverClasses( request.getEncoding(), Arrays.asList( extractDirectory ) );
        }
        catch ( ArtifactResolutionException e )
        {
            throw new ExtractionException( e.getMessage(), e );
        }
        catch ( ArtifactNotFoundException e )
        {
            //throw new ExtractionException( e.getMessage(), e );
            getLogger().debug( "skip ArtifactNotFoundException:" + e.getMessage() );
            getLogger().warn(
                "Unable to get sources artifact for " + artifact.getGroupId() + ":" + artifact.getArtifactId() + ":"
                    + artifact.getVersion() + ". Some javadoc tags (@since, @deprecated and comments) won't be used" );
            return Collections.emptyMap();
        }
        catch ( NoSuchArchiverException e )
        {
            throw new ExtractionException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.tools.plugin.extractor.ExtractionException

        {
            MojoDescriptorExtractor extractor = mojoDescriptorExtractors.get( language );

            if ( extractor == null )
            {
                throw new ExtractionException( "No mojo extractor for language: " + language );
            }

            logger.info( "Applying mojo extractor for language: " + language );

            List<MojoDescriptor> extractorDescriptors = extractor.execute( request );
View Full Code Here

Examples of org.apache.maven.tools.plugin.extractor.ExtractionException

            return mojoAnnotatedClasses;
        }
        catch ( IOException e )
        {
            throw new ExtractionException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.tools.plugin.extractor.ExtractionException

            }

        }
        catch ( Exception e )
        {
            throw new ExtractionException( e.getMessage(), e );
        }
    }
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.