[jsemver] 70/95: Make LexerException extend ParseException

Alexandre Viau reazem-guest at moszumanska.debian.org
Mon Feb 16 14:58:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

reazem-guest pushed a commit to branch master
in repository jsemver.

commit b312d18eaf57091a8f7b63065579c29696064d41
Author: Zafar Khaja <zafarkhaja at gmail.com>
Date:   Tue Jan 21 14:42:29 2014 +0400

    Make LexerException extend ParseException
---
 src/main/java/com/github/zafarkhaja/semver/expr/LexerException.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/com/github/zafarkhaja/semver/expr/LexerException.java b/src/main/java/com/github/zafarkhaja/semver/expr/LexerException.java
index b932ef6..81cb3a9 100644
--- a/src/main/java/com/github/zafarkhaja/semver/expr/LexerException.java
+++ b/src/main/java/com/github/zafarkhaja/semver/expr/LexerException.java
@@ -23,6 +23,8 @@
  */
 package com.github.zafarkhaja.semver.expr;
 
+import com.github.zafarkhaja.semver.ParseException;
+
 /**
  * Thrown during the lexical analysis when
  * an illegal character is encountered.
@@ -30,7 +32,7 @@ package com.github.zafarkhaja.semver.expr;
  * @author Zafar Khaja <zafarkhaja at gmail.com>
  * @since 0.7.0
  */
-public class LexerException extends RuntimeException {
+public class LexerException extends ParseException {
 
     /**
      * The string being analyzed starting from an illegal character.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jsemver.git



More information about the pkg-java-commits mailing list