View Javadoc

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 a checked exception and is used to report immediate failures,
8    * such as failed job registrations.
9    *
10   * @see SchedulerRuntimeException
11   * @since v1.0
12   */
13  @PublicApi
14  public class SchedulerServiceException extends Exception {
15      private static final long serialVersionUID = 1L;
16  
17      public SchedulerServiceException(final String message) {
18          super(message);
19      }
20  
21      public SchedulerServiceException(final String message, final Throwable cause) {
22          super(message, cause);
23      }
24  }