Code example for HttpException

Methods: getMessage

0
        try { 
            this.footers = AbstractMessageParser.parseHeaders
                (in, -1, -1, null);
        } catch (final HttpException ex) {
            final IOException ioe = new MalformedChunkCodingException("Invalid footer: "
                    + ex.getMessage());
            ioe.initCause(ex);
            throw ioe;
        } 
    } 
 
    /** 
     * Upon close, this reads the remainder of the chunked message, 
     * leaving the underlying socket at a position to start reading the 
     * next response without scanning. 
     * @throws IOException in case of an I/O error 
     */ 
    @Override 
    public void close() throws IOException { 
        if (!closed) {
            try {