]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.server/src/org/simantics/db/server/internal/InternalException.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.server / src / org / simantics / db / server / internal / InternalException.java
1 package org.simantics.db.server.internal;\r
2 \r
3 import org.simantics.db.server.ProCoreException;\r
4 \r
5 public class InternalException extends ProCoreException {\r
6     private static final long serialVersionUID = -3788787186411326253L;\r
7     InternalException(String message) {\r
8         super(message);\r
9     }\r
10     InternalException(String message, Throwable cause) {\r
11         super(message, cause);\r
12     }\r
13     InternalException(Throwable cause) {\r
14         super(cause);\r
15     }\r
16 }\r
17 class ProtocolException extends InternalException {\r
18     private static final long serialVersionUID = 166016944501591398L;\r
19     ProtocolException(String message) {\r
20         super(message);\r
21     }\r
22     ProtocolException(String message, Throwable cause) {\r
23         super(message, cause);\r
24     }\r
25     ProtocolException(Throwable cause) {\r
26         super(cause);\r
27     }\r
28 }\r
29 class TailReadException extends InternalException {\r
30     private static final long serialVersionUID = -2903888693606386087L;\r
31     TailReadException(String message) {\r
32         super(message);\r
33     }\r
34     TailReadException(String message, Throwable cause) {\r
35         super(message, cause);\r
36     }\r
37     TailReadException(Throwable cause) {\r
38         super(cause);\r
39     }\r
40 }\r
41 class TailException extends InternalException {\r
42     private static final long serialVersionUID = 6624323178477032581L;\r
43     TailException(String message) {\r
44         super(message);\r
45     }\r
46     TailException(String message, Throwable cause) {\r
47         super(message, cause);\r
48     }\r
49     TailException(Throwable cause) {\r
50         super(cause);\r
51     }\r
52 }\r
53 class ConnectionException extends InternalException {\r
54     private static final long serialVersionUID = -6586144095878019338L;\r
55     ConnectionException(String message) {\r
56         super(message);\r
57     }\r
58     ConnectionException(String message, Throwable cause) {\r
59         super(message, cause);\r
60     }\r
61     ConnectionException(Throwable cause) {\r
62         super(cause);\r
63     }\r
64 }\r
65 class NotConnectedException extends ConnectionException {\r
66     private static final long serialVersionUID = -9022237373906063606L;\r
67     NotConnectedException(String message) {\r
68         super(message);\r
69     }\r
70     NotConnectedException(String message, Throwable cause) {\r
71         super(message, cause);\r
72     }\r
73     NotConnectedException(Throwable cause) {\r
74         super(cause);\r
75     }\r
76 }\r
77 class ConnectionIOException extends ConnectionException {\r
78     private static final long serialVersionUID = 774743584586684356L;\r
79     ConnectionIOException(String message) {\r
80         super(message);\r
81     }\r
82     ConnectionIOException(String message, Throwable cause) {\r
83         super(message, cause);\r
84     }\r
85     ConnectionIOException(Throwable cause) {\r
86         super(cause);\r
87     }\r
88 }\r
89 class SendException extends ConnectionException {\r
90     private static final long serialVersionUID = -5283126259321380935L;\r
91     SendException(String message) {\r
92         super(message);\r
93     }\r
94     SendException(String message, Throwable cause) {\r
95         super(message, cause);\r
96     }\r
97     SendException(Throwable cause) {\r
98         super(cause);\r
99     }\r
100 }\r
101 class ReconnectException extends ConnectionException {\r
102     private static final long serialVersionUID = -6711153874864122457L;\r
103     ReconnectException(String message) {\r
104         super(message);\r
105     }\r
106     ReconnectException(String message, Throwable cause) {\r
107         super(message, cause);\r
108     }\r
109     ReconnectException(Throwable cause) {\r
110         super(cause);\r
111     }\r
112 }\r
113 class CompressionException extends ConnectionException {\r
114     private static final long serialVersionUID = -2554866411795192269L;\r
115     CompressionException(String message) {\r
116         super(message);\r
117     }\r
118     CompressionException(String message, Throwable cause) {\r
119         super(message, cause);\r
120     }\r
121     CompressionException(Throwable cause) {\r
122         super(cause);\r
123     }\r
124 }\r