Skip to content

Commit

Permalink
Make DukeParsingException package-private
Browse files Browse the repository at this point in the history
Since it's only used in the parser package
  • Loading branch information
chloelee767 committed Aug 25, 2020
1 parent 5b4764a commit 1225cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/duke/parser/DukeParsingException.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* This exception is handled within the route function in the Duke class.
*/
public class DukeParsingException extends Exception {
public DukeParsingException(String message) {
class DukeParsingException extends Exception {
DukeParsingException(String message) {
super(message);
}
}

0 comments on commit 1225cca

Please sign in to comment.