-package org.simantics.db.server.internal;\r
-\r
-import org.simantics.db.server.ProCoreException;\r
-\r
-public class InternalException extends ProCoreException {\r
- private static final long serialVersionUID = -3788787186411326253L;\r
- InternalException(String message) {\r
- super(message);\r
- }\r
- InternalException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- InternalException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class ProtocolException extends InternalException {\r
- private static final long serialVersionUID = 166016944501591398L;\r
- ProtocolException(String message) {\r
- super(message);\r
- }\r
- ProtocolException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- ProtocolException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class TailReadException extends InternalException {\r
- private static final long serialVersionUID = -2903888693606386087L;\r
- TailReadException(String message) {\r
- super(message);\r
- }\r
- TailReadException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- TailReadException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class TailException extends InternalException {\r
- private static final long serialVersionUID = 6624323178477032581L;\r
- TailException(String message) {\r
- super(message);\r
- }\r
- TailException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- TailException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class ConnectionException extends InternalException {\r
- private static final long serialVersionUID = -6586144095878019338L;\r
- ConnectionException(String message) {\r
- super(message);\r
- }\r
- ConnectionException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- ConnectionException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class NotConnectedException extends ConnectionException {\r
- private static final long serialVersionUID = -9022237373906063606L;\r
- NotConnectedException(String message) {\r
- super(message);\r
- }\r
- NotConnectedException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- NotConnectedException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class ConnectionIOException extends ConnectionException {\r
- private static final long serialVersionUID = 774743584586684356L;\r
- ConnectionIOException(String message) {\r
- super(message);\r
- }\r
- ConnectionIOException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- ConnectionIOException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class SendException extends ConnectionException {\r
- private static final long serialVersionUID = -5283126259321380935L;\r
- SendException(String message) {\r
- super(message);\r
- }\r
- SendException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- SendException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class ReconnectException extends ConnectionException {\r
- private static final long serialVersionUID = -6711153874864122457L;\r
- ReconnectException(String message) {\r
- super(message);\r
- }\r
- ReconnectException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- ReconnectException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
-class CompressionException extends ConnectionException {\r
- private static final long serialVersionUID = -2554866411795192269L;\r
- CompressionException(String message) {\r
- super(message);\r
- }\r
- CompressionException(String message, Throwable cause) {\r
- super(message, cause);\r
- }\r
- CompressionException(Throwable cause) {\r
- super(cause);\r
- }\r
-}\r
+package org.simantics.db.server.internal;
+
+import org.simantics.db.server.ProCoreException;
+
+public class InternalException extends ProCoreException {
+ private static final long serialVersionUID = -3788787186411326253L;
+ InternalException(String message) {
+ super(message);
+ }
+ InternalException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ InternalException(Throwable cause) {
+ super(cause);
+ }
+}
+class ProtocolException extends InternalException {
+ private static final long serialVersionUID = 166016944501591398L;
+ ProtocolException(String message) {
+ super(message);
+ }
+ ProtocolException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ ProtocolException(Throwable cause) {
+ super(cause);
+ }
+}
+class TailReadException extends InternalException {
+ private static final long serialVersionUID = -2903888693606386087L;
+ TailReadException(String message) {
+ super(message);
+ }
+ TailReadException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ TailReadException(Throwable cause) {
+ super(cause);
+ }
+}
+class TailException extends InternalException {
+ private static final long serialVersionUID = 6624323178477032581L;
+ TailException(String message) {
+ super(message);
+ }
+ TailException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ TailException(Throwable cause) {
+ super(cause);
+ }
+}
+class ConnectionException extends InternalException {
+ private static final long serialVersionUID = -6586144095878019338L;
+ ConnectionException(String message) {
+ super(message);
+ }
+ ConnectionException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ ConnectionException(Throwable cause) {
+ super(cause);
+ }
+}
+class NotConnectedException extends ConnectionException {
+ private static final long serialVersionUID = -9022237373906063606L;
+ NotConnectedException(String message) {
+ super(message);
+ }
+ NotConnectedException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ NotConnectedException(Throwable cause) {
+ super(cause);
+ }
+}
+class ConnectionIOException extends ConnectionException {
+ private static final long serialVersionUID = 774743584586684356L;
+ ConnectionIOException(String message) {
+ super(message);
+ }
+ ConnectionIOException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ ConnectionIOException(Throwable cause) {
+ super(cause);
+ }
+}
+class SendException extends ConnectionException {
+ private static final long serialVersionUID = -5283126259321380935L;
+ SendException(String message) {
+ super(message);
+ }
+ SendException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ SendException(Throwable cause) {
+ super(cause);
+ }
+}
+class ReconnectException extends ConnectionException {
+ private static final long serialVersionUID = -6711153874864122457L;
+ ReconnectException(String message) {
+ super(message);
+ }
+ ReconnectException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ ReconnectException(Throwable cause) {
+ super(cause);
+ }
+}
+class CompressionException extends ConnectionException {
+ private static final long serialVersionUID = -2554866411795192269L;
+ CompressionException(String message) {
+ super(message);
+ }
+ CompressionException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ CompressionException(Throwable cause) {
+ super(cause);
+ }
+}