IDE doesn't suggest any Exceptions, I just add try catch in case like 
you did. I'm not sure if it is necessary

On 2014-06-04 12:33, aakhmerov wrote:
>
> In src/main/java/de/smava/css/intersector/Intersector.java:
>
> > +            if (!analyzedSelectors.contains(clean)){
> > +                resultingCss.addRule(rule);
> > +            }*/
> > +            System.out.println("");
> > +        }
> > +
> > +        // move all rules which left in CSS B to differences_b/${file_name}.css
> > +        for (ICSSTopLevelRule leftRuleCSSB : cssToIntersectB.getAllRules()) {
> > +        	differenceBCSS.addRule(leftRuleCSSB);
> > +    	}
> > +
> > +        CSSWriter cssIntersectedWriter = new CSSWriter(CSS_VERSION);
> > +        try {
> > +        	cssIntersectedWriter.setHeaderText("");
> > +        	intersected.append(cssIntersectedWriter.getCSSAsString(intersectedCSS));
> > +        } catch (Exception e) {
>
> avoid catching Exception, can we catch more specific exception classes 
> here?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/aakhmerov/css_stripper/pull/1/files#r13379750>.
>