throw new SignatureException(String.valueOf(x));
throw new SignatureException(x.getMessage(), x);
  public byte[] engineSign() throws SignatureException  {    Object signature = null;    try      {        signature = adaptee.sign();      }    catch (IllegalStateException x)      {        throw new SignatureException(String.valueOf(x));      }    byte[] result = codec.encodeSignature(signature);    return result;  }