Home » quartz-1.6.0 » org » quartz » [javadoc | source]

    1   
    2   /* 
    3    * Copyright 2004-2005 OpenSymphony 
    4    * 
    5    * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
    6    * use this file except in compliance with the License. You may obtain a copy 
    7    * of the License at 
    8    * 
    9    *   http://www.apache.org/licenses/LICENSE-2.0 
   10    *   
   11    * Unless required by applicable law or agreed to in writing, software 
   12    * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
   13    * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
   14    * License for the specific language governing permissions and limitations 
   15    * under the License.
   16    * 
   17    */
   18   
   19   /*
   20    * Previously Copyright (c) 2001-2004 James House
   21    */
   22   
   23   package org.quartz;
   24   
   25   /**
   26    * <p>
   27    * An exception that is thrown to indicate that there has been a critical
   28    * failure within the scheduler's core services (such as loss of database
   29    * connectivity).
   30    * </p>
   31    * 
   32    * @author James House
   33    */
   34   public class CriticalSchedulerException extends SchedulerException {
   35   
   36       /*
   37        * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   38        * 
   39        * Constructors.
   40        * 
   41        * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   42        */
   43   
   44       /**
   45        * <p>
   46        * Create a <code>CriticalSchedulerException</code> with the given message.
   47        * </p>
   48        */
   49       public CriticalSchedulerException(String msg, int errCode) {
   50           super(msg);
   51           setErrorCode(errCode);
   52       }
   53   }

Home » quartz-1.6.0 » org » quartz » [javadoc | source]