Skip to content

Commit 0b137a8

Browse files
committed
Added missing serializable ID fields to several exceptions.
1 parent b9de830 commit 0b137a8

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

src/org/java_websocket/exeptions/IncompleteHandshakeException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
public class IncompleteHandshakeException extends RuntimeException {
44

5+
/**
6+
* Serializable
7+
*/
8+
private static final long serialVersionUID = 7906596804233893092L;
9+
510
public IncompleteHandshakeException() {
611
super();
712
}

src/org/java_websocket/exeptions/InvalidFrameException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
public class InvalidFrameException extends InvalidDataException {
66

7+
/**
8+
* Serializable
9+
*/
10+
private static final long serialVersionUID = -9016496369828887591L;
11+
712
public InvalidFrameException() {
813
super( CloseFrame.PROTOCOL_ERROR );
914
}

src/org/java_websocket/exeptions/InvalidHandshakeException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
public class InvalidHandshakeException extends InvalidDataException {
66

7+
/**
8+
* Serializable
9+
*/
10+
private static final long serialVersionUID = -1426533877490484964L;
11+
712
public InvalidHandshakeException() {
813
super( CloseFrame.PROTOCOL_ERROR );
914
}

src/org/java_websocket/exeptions/LimitExedeedException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
public class LimitExedeedException extends InvalidDataException {
66

7+
/**
8+
* Serializable
9+
*/
10+
private static final long serialVersionUID = 6908339749836826785L;
11+
712
public LimitExedeedException() {
813
super( CloseFrame.TOOBIG );
914
}

src/org/java_websocket/exeptions/NotSendableException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
public class NotSendableException extends RuntimeException {
44

5+
/**
6+
* Serializable
7+
*/
8+
private static final long serialVersionUID = -6468967874576651628L;
9+
510
public NotSendableException() {
611
}
712

0 commit comments

Comments
 (0)