Code example for TransformerException

0
            result.setSystemId( fullUri );
            return result;
        } 
        catch ( IOException ioe )
        { 
            throw new TransformerException( "unable to load resource " + fullUri, ioe );
        } 
    } 
 
    private InputStream getResourceAsStream( String fullUri )
        throws IOException 
    { 
        try 
        { 
            URI uri = new URI( fullUri );
 
            String groupId = uri.getAuthority();
            String path = uri.getPath().substring( 1 );
            String artifactId = path.substring( 0, path.indexOf( "/" ) );
            String resource = path.substring( path.indexOf( "/" ) );
Contextual code suggestions in your IDE  Get Codota for Java