You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by gg...@apache.org on 2023/06/23 17:51:05 UTC
[juneau] 08/11: [juneau-microservice-core] Throw IllegalArgumentException instead of RuntimeException
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
commit c23e3bd2b7ebbd5ca62d07fcb2fe98a721b0b2c1
Author: Gary Gregory <gg...@rocketsoftware.com>
AuthorDate: Fri Jun 23 13:49:18 2023 -0400
[juneau-microservice-core] Throw IllegalArgumentException instead of
RuntimeException
---
.../main/java/org/apache/juneau/microservice/resources/LogParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/juneau-microservice/juneau-microservice-core/src/main/java/org/apache/juneau/microservice/resources/LogParser.java b/juneau-microservice/juneau-microservice-core/src/main/java/org/apache/juneau/microservice/resources/LogParser.java
index 78b36488e..d35c63cc7 100644
--- a/juneau-microservice/juneau-microservice-core/src/main/java/org/apache/juneau/microservice/resources/LogParser.java
+++ b/juneau-microservice/juneau-microservice-core/src/main/java/org/apache/juneau/microservice/resources/LogParser.java
@@ -89,7 +89,7 @@ public final class LogParser implements Iterable<LogParser.Entry>, Iterator<LogP
}
}
} catch (IOException e) {
- throw new RuntimeException(e);
+ throw new UncheckedIOException(e);
}
return current;
}