throw new InvalidKeyException(String.valueOf(x));
throw new InvalidKeyException(x.getMessage(), x);
  public void engineInitSign(PrivateKey privateKey) throws InvalidKeyException  {    HashMap attributes = new HashMap();    attributes.put(BaseSignature.SIGNER_KEY, privateKey);    try      {        adaptee.setupSign(attributes);      }    catch (IllegalArgumentException x)      {        throw new InvalidKeyException(String.valueOf(x));      }  }