diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-05-05 15:08:04 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-05-05 15:08:04 +0200 |
commit | bcc445118956633eb4084581a47edbe5672cefb4 (patch) | |
tree | bb9a602d2fe81041dd27ac00766b3895ce2f993e /sonar-channel/src | |
parent | ae508ce93d67bb07ee70c2ec5290d6d093e12de4 (diff) | |
download | sonarqube-bcc445118956633eb4084581a47edbe5672cefb4.tar.gz sonarqube-bcc445118956633eb4084581a47edbe5672cefb4.zip |
Reduce technical debt
Diffstat (limited to 'sonar-channel/src')
-rw-r--r-- | sonar-channel/src/main/java/org/sonar/channel/RegexChannel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-channel/src/main/java/org/sonar/channel/RegexChannel.java b/sonar-channel/src/main/java/org/sonar/channel/RegexChannel.java index cf44de7f3a8..f453522d427 100644 --- a/sonar-channel/src/main/java/org/sonar/channel/RegexChannel.java +++ b/sonar-channel/src/main/java/org/sonar/channel/RegexChannel.java @@ -52,7 +52,7 @@ public abstract class RegexChannel<OUTPUT> extends Channel<OUTPUT> { } return false; } catch (StackOverflowError e) { - throw new RuntimeException( + throw new IllegalArgumentException( "The regular expression " + regex + " has led to a stack overflow error. " |