diff options
author | nickl- <github@jigsoft.co.za> | 2017-10-28 06:18:43 +0200 |
---|---|---|
committer | nickl- <github@jigsoft.co.za> | 2017-10-28 08:59:37 +0200 |
commit | cd3aa325301e1db20c229f9dce92f86e914ad798 (patch) | |
tree | e616f82e21788f2dabd98504e1b005b7dc4b2eb8 /src/main/javassist/tools/rmi | |
parent | ce84f84a174b279ee3e8a38446ea3a1f23bf8287 (diff) | |
download | javassist-cd3aa325301e1db20c229f9dce92f86e914ad798.tar.gz javassist-cd3aa325301e1db20c229f9dce92f86e914ad798.zip |
Added default serialVersionUID.
Diffstat (limited to 'src/main/javassist/tools/rmi')
4 files changed, 10 insertions, 0 deletions
diff --git a/src/main/javassist/tools/rmi/ObjectImporter.java b/src/main/javassist/tools/rmi/ObjectImporter.java index 43b62039..84502056 100644 --- a/src/main/javassist/tools/rmi/ObjectImporter.java +++ b/src/main/javassist/tools/rmi/ObjectImporter.java @@ -73,6 +73,8 @@ import java.lang.reflect.*; * @see javassist.tools.web.Viewer */ public class ObjectImporter implements java.io.Serializable { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; private final byte[] endofline = { 0x0d, 0x0a }; private String servername, orgServername; private int port, orgPort; diff --git a/src/main/javassist/tools/rmi/ObjectNotFoundException.java b/src/main/javassist/tools/rmi/ObjectNotFoundException.java index 47cfb68e..bd5b27eb 100644 --- a/src/main/javassist/tools/rmi/ObjectNotFoundException.java +++ b/src/main/javassist/tools/rmi/ObjectNotFoundException.java @@ -17,6 +17,9 @@ package javassist.tools.rmi; public class ObjectNotFoundException extends Exception { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; + public ObjectNotFoundException(String name) { super(name + " is not exported"); } diff --git a/src/main/javassist/tools/rmi/RemoteException.java b/src/main/javassist/tools/rmi/RemoteException.java index e00dff59..6d4612a7 100644 --- a/src/main/javassist/tools/rmi/RemoteException.java +++ b/src/main/javassist/tools/rmi/RemoteException.java @@ -21,6 +21,9 @@ package javassist.tools.rmi; * during remote method invocation. */ public class RemoteException extends RuntimeException { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; + public RemoteException(String msg) { super(msg); } diff --git a/src/main/javassist/tools/rmi/RemoteRef.java b/src/main/javassist/tools/rmi/RemoteRef.java index 6b604bc5..4537352e 100644 --- a/src/main/javassist/tools/rmi/RemoteRef.java +++ b/src/main/javassist/tools/rmi/RemoteRef.java @@ -21,6 +21,8 @@ package javassist.tools.rmi; * reference through a network stream. */ public class RemoteRef implements java.io.Serializable { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; public int oid; public String classname; |