Skip to content

Commit b7d0803

Browse files
committed
removing unneeded code
1 parent b60ce0d commit b7d0803

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/com/cleancoder/args/ArgsException.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ public class ArgsException extends Exception {
77
private String errorParameter = null;
88
private ErrorCode errorCode = OK;
99

10-
public ArgsException() {
11-
}
12-
1310
public ArgsException(ErrorCode errorCode) {
1411
this.errorCode = errorCode;
1512
}
@@ -37,18 +34,10 @@ public String getErrorParameter() {
3734
return errorParameter;
3835
}
3936

40-
public void setErrorParameter(String errorParameter) {
41-
this.errorParameter = errorParameter;
42-
}
43-
4437
public ErrorCode getErrorCode() {
4538
return errorCode;
4639
}
4740

48-
public void setErrorCode(ErrorCode errorCode) {
49-
this.errorCode = errorCode;
50-
}
51-
5241
public String errorMessage() {
5342
switch (errorCode) {
5443
case OK:

0 commit comments

Comments
 (0)