encoded = new byte[0];
IllegalArgumentException iae = new IllegalArgumentException (); iae.initCause (ioe); throw iae;
  public int getEncodedLength()  {    if (encoded == null)      {        try          {            ByteArrayOutputStream out = new ByteArrayOutputStream();            length = DERWriter.write(out, this);            encoded = out.toByteArray();          }        catch (IOException ioe)          {            encoded = new byte[0];          }      }    return encoded.length;  }