Skip to content

Commit 447713d

Browse files
committed
refactor
1 parent 4be9437 commit 447713d

File tree

3 files changed

+34
-25
lines changed

3 files changed

+34
-25
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
package org.scm4j.commons.regexconfig;
2-
3-
public class EConfig extends RuntimeException {
4-
public EConfig(String message, Exception e) {
5-
super(message, e);
6-
}
7-
8-
public EConfig(String message) {
9-
super(message);
10-
}
11-
}
1+
package org.scm4j.commons.regexconfig;
2+
3+
public class EConfig extends RuntimeException {
4+
5+
private static final long serialVersionUID = 1L;
6+
7+
public EConfig(String message, Exception e) {
8+
super(message, e);
9+
}
10+
11+
public EConfig(String message) {
12+
super(message);
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
package org.scm4j.commons.regexconfig;
2-
3-
public class EConfigReadFailed extends EConfig {
4-
public EConfigReadFailed(String message, Exception e) {
5-
super(message, e);
6-
}
7-
}
1+
package org.scm4j.commons.regexconfig;
2+
3+
public class EConfigReadFailed extends EConfig {
4+
5+
private static final long serialVersionUID = 1L;
6+
7+
public EConfigReadFailed(String message, Exception e) {
8+
super(message, e);
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
package org.scm4j.commons.regexconfig;
2-
3-
public class EConfigWrongFormat extends EConfig {
4-
public EConfigWrongFormat(String message) {
5-
super(message);
6-
}
7-
}
1+
package org.scm4j.commons.regexconfig;
2+
3+
public class EConfigWrongFormat extends EConfig {
4+
5+
private static final long serialVersionUID = 1L;
6+
7+
public EConfigWrongFormat(String message) {
8+
super(message);
9+
}
10+
}

0 commit comments

Comments
 (0)