throw new IllegalArgumentException("format");
throw new IllegalArgumentException("Unsupported encoding format: " + format);
  public byte[] getEncoded(int format)  {    byte[] result;    switch (format)      {      case IKeyPairCodec.RAW_FORMAT:        result = new DSSKeyPairRawCodec().encodePrivateKey(this);        break;      default:        throw new IllegalArgumentException("format");      }    return result;  }