-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #2 - removed system.exit calls and throw exceptions instead. s…
…till print error message to system.error.
- Loading branch information
Showing
4 changed files
with
85 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/mavenp2versionmatch/exception/MvnP2Exception.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package mavenp2versionmatch.exception; | ||
|
||
public class MvnP2Exception extends Exception { | ||
|
||
public MvnP2Exception() { | ||
super(); | ||
} | ||
|
||
public MvnP2Exception(String message) { | ||
super(message); | ||
} | ||
|
||
public MvnP2Exception(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public MvnP2Exception(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters