1 /*
2 * Prometheus: Application Framework
3 * Copyright 2012-2026. Tony Washer
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy
7 * of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17 package io.github.tonywasher.joceanus.prometheus.service.sheet;
18
19 import io.github.tonywasher.joceanus.oceanus.base.OceanusException;
20
21 /**
22 * Sheet Exception.
23 */
24 public class PrometheusSheetException
25 extends OceanusException {
26 /**
27 * SerialId.
28 */
29 private static final long serialVersionUID = -6978518975360173662L;
30
31 /**
32 * Create a new Exception object based on an object, a string and an underlying exception.
33 *
34 * @param o the object
35 * @param s the description of the exception
36 * @param e the underlying exception
37 */
38 public PrometheusSheetException(final Object o,
39 final String s,
40 final Throwable e) {
41 super(o, s, e);
42 }
43
44 /**
45 * Create a new Exception object based on an object and a string.
46 *
47 * @param o the data object
48 * @param s the description of the exception
49 */
50 public PrometheusSheetException(final Object o,
51 final String s) {
52 super(o, s);
53 }
54
55 /**
56 * Create a new Exception object based on a string and an underlying exception.
57 *
58 * @param s the description of the exception
59 * @param e the underlying exception
60 */
61 public PrometheusSheetException(final String s,
62 final Throwable e) {
63 super(s, e);
64 }
65
66 /**
67 * Create a new Exception object based on a string.
68 *
69 * @param s the description of the exception
70 */
71 public PrometheusSheetException(final String s) {
72 super(s);
73 }
74 }