1 package com.atlassian.scheduler;
2
3 import com.atlassian.annotations.PublicApi;
4
5 /**
6 * Indicates a problem interacting with the {@code SchedulerService}.
7 * This is an unchecked exception and is used to report unexpected inconsistencies
8 * in the scheduler configuration.
9 *
10 * @see SchedulerServiceException
11 * @since v1.0
12 */
13 @PublicApi
14 public class SchedulerRuntimeException extends RuntimeException {
15 private static final long serialVersionUID = 1L;
16
17 public SchedulerRuntimeException(final String message) {
18 super(message);
19 }
20
21 public SchedulerRuntimeException(final String message, final Throwable cause) {
22 super(message, cause);
23 }
24 }