You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/ch/unibas/dmi/dbis/chronos/agent/ChronosException.java
+31-5Lines changed: 31 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,35 @@
1
+
/*
2
+
The MIT License (MIT)
3
+
4
+
Copyright (c) 2018-2022 The Chronos Project
5
+
6
+
Permission is hereby granted, free of charge, to any person obtaining a copy
7
+
of this software and associated documentation files (the "Software"), to deal
8
+
in the Software without restriction, including without limitation the rights
9
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+
copies of the Software, and to permit persons to whom the Software is
11
+
furnished to do so, subject to the following conditions:
12
+
13
+
The above copyright notice and this permission notice shall be included in all
14
+
copies or substantial portions of the Software.
15
+
16
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+
SOFTWARE.
23
+
*/
24
+
1
25
packagech.unibas.dmi.dbis.chronos.agent;
2
26
3
27
4
28
publicclassChronosExceptionextendsException {
5
29
6
30
/**
7
-
* Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to {@link #initCause}.
31
+
* Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be
32
+
* initialized by a call to {@link #initCause}.
8
33
*
9
34
* @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
10
35
*/
@@ -14,8 +39,8 @@ public ChronosException( String message ) {
14
39
15
40
16
41
/**
17
-
* Constructs a new exception with the specified detail message and cause.
18
-
* Note that the detail message associated with {@code cause} is <i>not</i> automatically incorporated in this exception's detail message.
42
+
* Constructs a new exception with the specified detail message and cause. Note that the detail message associated
43
+
* with {@code cause} is <i>not</i> automatically incorporated in this exception's detail message.
19
44
*
20
45
* @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
21
46
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). (A "null" value is permitted, and indicates that the cause is nonexistent or unknown.)
@@ -26,8 +51,9 @@ public ChronosException( String message, Throwable cause ) {
26
51
27
52
28
53
/**
29
-
* Constructs a new exception with the specified cause and a detail message of "(cause==null ? null : cause.toString())" (which typically contains the class and detail message of "cause").
30
-
* This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, {@link java.security.PrivilegedActionException}).
54
+
* Constructs a new exception with the specified cause and a detail message of "(cause==null ? null : cause.toString())"
55
+
* (which typically contains the class and detail message of "cause"). This constructor is useful for exceptions that
56
+
* are little more than wrappers for other throwables (for example, {@link java.security.PrivilegedActionException}).
31
57
*
32
58
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). (A "null" value is permitted, and indicates that the cause is nonexistent or unknown.)
Copy file name to clipboardExpand all lines: src/main/java/ch/unibas/dmi/dbis/chronos/agent/ExecutionException.java
+31-5Lines changed: 31 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,35 @@
1
+
/*
2
+
The MIT License (MIT)
3
+
4
+
Copyright (c) 2018-2022 The Chronos Project
5
+
6
+
Permission is hereby granted, free of charge, to any person obtaining a copy
7
+
of this software and associated documentation files (the "Software"), to deal
8
+
in the Software without restriction, including without limitation the rights
9
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+
copies of the Software, and to permit persons to whom the Software is
11
+
furnished to do so, subject to the following conditions:
12
+
13
+
The above copyright notice and this permission notice shall be included in all
14
+
copies or substantial portions of the Software.
15
+
16
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+
SOFTWARE.
23
+
*/
24
+
1
25
packagech.unibas.dmi.dbis.chronos.agent;
2
26
3
27
4
28
publicclassExecutionExceptionextendsException {
5
29
6
30
/**
7
-
* Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to {@link #initCause}.
31
+
* Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be
32
+
* initialized by a call to {@link #initCause}.
8
33
*
9
34
* @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
10
35
*/
@@ -14,8 +39,8 @@ public ExecutionException( String message ) {
14
39
15
40
16
41
/**
17
-
* Constructs a new exception with the specified detail message and cause.
18
-
* Note that the detail message associated with {@code cause} is <i>not</i> automatically incorporated in this exception's detail message.
42
+
* Constructs a new exception with the specified detail message and cause. Note that the detail message associated with
43
+
* {@code cause} is <i>not</i> automatically incorporated in this exception's detail message.
19
44
*
20
45
* @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
21
46
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). (A "null" value is permitted, and indicates that the cause is nonexistent or unknown.)
@@ -26,8 +51,9 @@ public ExecutionException( String message, Throwable cause ) {
26
51
27
52
28
53
/**
29
-
* Constructs a new exception with the specified cause and a detail message of "(cause==null ? null : cause.toString())" (which typically contains the class and detail message of "cause").
30
-
* This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, {@link java.security.PrivilegedActionException}).
54
+
* Constructs a new exception with the specified cause and a detail message of "(cause==null ? null : cause.toString())"
55
+
* (which typically contains the class and detail message of "cause"). This constructor is useful for exceptions that
56
+
* are little more than wrappers for other throwables (for example, {@link java.security.PrivilegedActionException}).
31
57
*
32
58
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). (A "null" value is permitted, and indicates that the cause is nonexistent or unknown.)
0 commit comments