Code example for IOException

Methods: getMessage

0
        { 
            return new DEROctetString(stream.toByteArray());
        } 
        catch (IOException e)
        { 
            throw new ASN1ParsingException("IOException converting stream to byte array: " + e.getMessage(), e);
        } 
    } 
}