throw new IllegalStateException();
}
if (pw == null) {
OutputStream sos = os;
if (isGZipEnabled) {
sos = new GZipServletOutputStream(os);
}
OutputStreamWriter osw = null;
if (lineWriterListener == null) {
osw = new OutputStreamWriter(sos, encoding);
} else {