summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/service/License.java20
-rw-r--r--src/com/itmill/toolkit/terminal/web/ApplicationServlet.java2
-rw-r--r--src/com/itmill/toolkit/terminal/web/ThemeSource.java2
-rw-r--r--src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java1
4 files changed, 25 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/service/License.java b/src/com/itmill/toolkit/service/License.java
index 09d92e5c08..96c9ed3ecf 100644
--- a/src/com/itmill/toolkit/service/License.java
+++ b/src/com/itmill/toolkit/service/License.java
@@ -627,45 +627,65 @@ public class License {
}
public class LicenseViolation extends Exception {
+
+ private static final long serialVersionUID = -1907168254265902098L;
+
public LicenseViolation(String msg) {
super(msg);
}
}
public class LicenseFileHasAlreadyBeenRead extends Exception {
+ private static final long serialVersionUID = 6531225916088537239L;
}
public class LicenseFileHasNotBeenRead extends Exception {
+ private static final long serialVersionUID = -2298284163422128284L;
}
public class LicenseSignatureIsInvalid extends Exception {
+ private static final long serialVersionUID = -1931663861678614927L;
}
public class TooManyConcurrentUsers extends LicenseViolation {
+ private static final long serialVersionUID = -2388655757006023599L;
+
public TooManyConcurrentUsers(String msg) {
super(msg);
}
}
public class LicenseHasExpired extends LicenseViolation {
+
+ private static final long serialVersionUID = -8631335939895587668L;
+
public LicenseHasExpired(String msg) {
super(msg);
}
}
public class ApplicationClassNameDoesNotMatch extends LicenseViolation {
+
+ private static final long serialVersionUID = 5837570791695513847L;
+
public ApplicationClassNameDoesNotMatch(String msg) {
super(msg);
}
}
public class InvalidLicenseFile extends Exception {
+
+ private static final long serialVersionUID = -1624980115082095017L;
+
InvalidLicenseFile(String message) {
super(message);
}
}
public class LicenseFileCanNotBeRead extends Exception {
+
+ private static final long serialVersionUID = -362237440802937818L;
+
LicenseFileCanNotBeRead(String message) {
super(message);
}
diff --git a/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java b/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java
index d6aafccf4a..e72c9d2b8f 100644
--- a/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java
+++ b/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java
@@ -100,6 +100,8 @@ public class ApplicationServlet extends HttpServlet implements
Application.WindowAttachListener, Application.WindowDetachListener,
Paintable.RepaintRequestListener {
+ private static final long serialVersionUID = -4937882979845826574L;
+
/** Version number of this release. For example "4.0.0" */
public static final String VERSION;
diff --git a/src/com/itmill/toolkit/terminal/web/ThemeSource.java b/src/com/itmill/toolkit/terminal/web/ThemeSource.java
index 84bd9a722d..6f6008a22c 100644
--- a/src/com/itmill/toolkit/terminal/web/ThemeSource.java
+++ b/src/com/itmill/toolkit/terminal/web/ThemeSource.java
@@ -91,6 +91,8 @@ public interface ThemeSource {
*/
public class ThemeException extends Exception {
+ private static final long serialVersionUID = -7823850742197580285L;
+
/** Create new theme exception.
* @param message Error message.
*/
diff --git a/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java b/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java
index 96133c0605..0b0c0a1a94 100644
--- a/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java
+++ b/src/com/itmill/toolkit/terminal/web/UIDLTransformerException.java
@@ -36,6 +36,7 @@ package com.itmill.toolkit.terminal.web;
*/
public class UIDLTransformerException extends java.lang.Exception {
+ private static final long serialVersionUID = 5648982356058143223L;
private String HTMLDescription = null;
private Throwable transformException = null;