Skip to content

Commit 49f0b1f

Browse files
committed
Do not bother setting serialVersionUID
1 parent 8e7f408 commit 49f0b1f

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

src/main/java/com/maxmind/db/ConstructorNotFoundException.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* constructor in the class with the MaxMindDbConstructor annotation.
66
*/
77
public class ConstructorNotFoundException extends RuntimeException {
8-
private static final long serialVersionUID = 1L;
9-
108
ConstructorNotFoundException(String message) {
119
super(message);
1210
}

src/main/java/com/maxmind/db/DeserializationException.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* Signals that the value could not be deserialized into the type.
55
*/
66
public class DeserializationException extends RuntimeException {
7-
private static final long serialVersionUID = 1L;
8-
97
DeserializationException() {
108
super("Database value cannot be deserialized into the type.");
119
}

src/main/java/com/maxmind/db/InvalidDatabaseException.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
* corrupt or otherwise not in a format supported by the reader.
99
*/
1010
public class InvalidDatabaseException extends IOException {
11-
12-
private static final long serialVersionUID = 6161763462364823003L;
13-
1411
/**
1512
* @param message A message describing the reason why the exception was thrown.
1613
*/

src/main/java/com/maxmind/db/ParameterNotFoundException.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* parameters of the constructor class with the MaxMindDbParameter annotation.
66
*/
77
public class ParameterNotFoundException extends RuntimeException {
8-
private static final long serialVersionUID = 1L;
9-
108
ParameterNotFoundException(String message) {
119
super(message);
1210
}

0 commit comments

Comments
 (0)