1 package se.citerus.dddsample.domain.model.handling;
2
3 /**
4 * If a {@link se.citerus.dddsample.domain.model.handling.HandlingEvent} can't be
5 * created from a given set of parameters.
6 *
7 * It is a checked exception because it's not a programming error, but rather a
8 * special case that the application is built to handle. It can occur during normal
9 * program execution.
10 */
11 public class CannotCreateHandlingEventException extends Exception {
12 public CannotCreateHandlingEventException(Exception e) {
13 super(e);
14 }
15
16 public CannotCreateHandlingEventException() {
17 super();
18 }
19 }