View Javadoc
1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.gl.batch.service.impl.exception;
17  
18  /**
19   * Represents an exception, often occurring in batch jobs, that should be reported
20   * but which shouldn't end the process
21   */
22  public class NonFatalErrorException extends Exception {
23      /**
24       * Constructs a NonFatalErrorException instance
25       */
26      public NonFatalErrorException() {
27          super();
28      }
29  
30      /**
31       * Constructs a NonFatalErrorException instance
32       * @param message the message this exception should use to report itself in the logs
33       * @param cause the original problem
34       */
35      public NonFatalErrorException(String message, Throwable cause) {
36          super(message, cause);
37      }
38  
39      /**
40       * Constructs a NonFatalErrorException instance
41       * @param message the message this exception should use to report itself in the logs
42       */
43      public NonFatalErrorException(String message) {
44          super(message);
45      }
46  
47      /**
48       * Constructs a NonFatalErrorException instance
49       * @param cause the original problem
50       */
51      public NonFatalErrorException(Throwable cause) {
52          super(cause);
53      }
54  }