Open fbacchella opened 6 years ago
https://github.com/thekrakken/java-grok/blob/95dc26ed4273c1e413b93d1ccb3d0a7b9b0ad0f2/src/main/java/io/krakens/grok/api/Match.java#L146
I'm not a big fan of the too generic RuntimeException. It make error dispatch using smart try ... catch difficult. Why not a GrokException here ?
+1 for using GrokException
https://github.com/thekrakken/java-grok/blob/95dc26ed4273c1e413b93d1ccb3d0a7b9b0ad0f2/src/main/java/io/krakens/grok/api/Match.java#L146
I'm not a big fan of the too generic RuntimeException. It make error dispatch using smart try ... catch difficult. Why not a GrokException here ?