KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quartz > impl > jdbcjobstore > LockException


1 /*
2  * Copyright 2004-2005 OpenSymphony
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy
6  * of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
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, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations
14  * under the License.
15  *
16  */

17
18 /*
19  * Previously Copyright (c) 2001-2004 James House
20  */

21 package org.quartz.impl.jdbcjobstore;
22
23 import org.quartz.JobPersistenceException;
24
25 /**
26  * <p>
27  * Exception class for when there is a failure obtaining or releasing a
28  * resource lock.
29  * </p>
30  *
31  * @see Semaphore
32  *
33  * @author James House
34  */

35 public class LockException extends JobPersistenceException {
36
37     /*
38      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39      *
40      * Constructors.
41      *
42      * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43      */

44
45     public LockException(String JavaDoc msg) {
46         super(msg);
47     }
48
49     public LockException(String JavaDoc msg, Throwable JavaDoc cause) {
50         super(msg, cause);
51     }
52 }
53
54 // EOF
55
Popular Tags