1 package org.simantics.db.server.internal;
\r
3 import org.simantics.db.server.ProCoreException;
\r
5 public class InternalException extends ProCoreException {
\r
6 private static final long serialVersionUID = -3788787186411326253L;
\r
7 InternalException(String message) {
\r
10 InternalException(String message, Throwable cause) {
\r
11 super(message, cause);
\r
13 InternalException(Throwable cause) {
\r
17 class ProtocolException extends InternalException {
\r
18 private static final long serialVersionUID = 166016944501591398L;
\r
19 ProtocolException(String message) {
\r
22 ProtocolException(String message, Throwable cause) {
\r
23 super(message, cause);
\r
25 ProtocolException(Throwable cause) {
\r
29 class TailReadException extends InternalException {
\r
30 private static final long serialVersionUID = -2903888693606386087L;
\r
31 TailReadException(String message) {
\r
34 TailReadException(String message, Throwable cause) {
\r
35 super(message, cause);
\r
37 TailReadException(Throwable cause) {
\r
41 class TailException extends InternalException {
\r
42 private static final long serialVersionUID = 6624323178477032581L;
\r
43 TailException(String message) {
\r
46 TailException(String message, Throwable cause) {
\r
47 super(message, cause);
\r
49 TailException(Throwable cause) {
\r
53 class ConnectionException extends InternalException {
\r
54 private static final long serialVersionUID = -6586144095878019338L;
\r
55 ConnectionException(String message) {
\r
58 ConnectionException(String message, Throwable cause) {
\r
59 super(message, cause);
\r
61 ConnectionException(Throwable cause) {
\r
65 class NotConnectedException extends ConnectionException {
\r
66 private static final long serialVersionUID = -9022237373906063606L;
\r
67 NotConnectedException(String message) {
\r
70 NotConnectedException(String message, Throwable cause) {
\r
71 super(message, cause);
\r
73 NotConnectedException(Throwable cause) {
\r
77 class ConnectionIOException extends ConnectionException {
\r
78 private static final long serialVersionUID = 774743584586684356L;
\r
79 ConnectionIOException(String message) {
\r
82 ConnectionIOException(String message, Throwable cause) {
\r
83 super(message, cause);
\r
85 ConnectionIOException(Throwable cause) {
\r
89 class SendException extends ConnectionException {
\r
90 private static final long serialVersionUID = -5283126259321380935L;
\r
91 SendException(String message) {
\r
94 SendException(String message, Throwable cause) {
\r
95 super(message, cause);
\r
97 SendException(Throwable cause) {
\r
101 class ReconnectException extends ConnectionException {
\r
102 private static final long serialVersionUID = -6711153874864122457L;
\r
103 ReconnectException(String message) {
\r
106 ReconnectException(String message, Throwable cause) {
\r
107 super(message, cause);
\r
109 ReconnectException(Throwable cause) {
\r
113 class CompressionException extends ConnectionException {
\r
114 private static final long serialVersionUID = -2554866411795192269L;
\r
115 CompressionException(String message) {
\r
118 CompressionException(String message, Throwable cause) {
\r
119 super(message, cause);
\r
121 CompressionException(Throwable cause) {
\r