}
private void compressCss(InputStreamReader in, OutputStreamWriter out)
throws IOException {
try{
CssCompressor compressor = new CssCompressor(in);
compressor.compress(out, linebreakpos);
}catch(IllegalArgumentException e){
throw new IllegalArgumentException(
"Unexpected characters found in CSS file. Ensure that the CSS file does not contain '$', and try again",e);
}
}