jdk/src/share/classes/sun/net/www/http/ChunkedOutputStream.java
changeset 10419 12c063b39232
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
    77             header[hexBytes.length] = CRLF[0];
    77             header[hexBytes.length] = CRLF[0];
    78             header[hexBytes.length+1] = CRLF[1];
    78             header[hexBytes.length+1] = CRLF[1];
    79             return header;
    79             return header;
    80         } catch (java.io.UnsupportedEncodingException e) {
    80         } catch (java.io.UnsupportedEncodingException e) {
    81             /* This should never happen */
    81             /* This should never happen */
    82             throw new InternalError(e.getMessage());
    82             throw new InternalError(e.getMessage(), e);
    83         }
    83         }
    84     }
    84     }
    85 
    85 
    86     public ChunkedOutputStream(PrintStream o) {
    86     public ChunkedOutputStream(PrintStream o) {
    87         this(o, DEFAULT_CHUNK_SIZE);
    87         this(o, DEFAULT_CHUNK_SIZE);