1 package org.mod4j.runtime.exception;
2
3 /**
4 * Thrown when during the call of a service method a violation occurred.
5 *
6 * @author Ordina initial implementation
7 *
8 */
9 @SuppressWarnings("serial")
10 public class ServiceException extends RuntimeException {
11
12 /**
13 * {@inheritDoc}
14 */
15 public ServiceException() {
16 super();
17 }
18
19 /**
20 * {@inheritDoc}
21 */
22 public ServiceException(String message, Throwable cause) {
23 super(message, cause);
24 }
25
26 /**
27 * {@inheritDoc}
28 */
29 public ServiceException(String message) {
30 super(message);
31 }
32
33 /**
34 * {@inheritDoc}
35 */
36 public ServiceException(Throwable cause) {
37 super(cause);
38 }
39
40 }