KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > VersantDuplicateKeyException


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo;
13
14 import javax.jdo.JDOFatalDataStoreException;
15
16 /**
17  * This exception is thrown when duplicate primary keys are detected by the
18  * backend.
19  */

20 public class VersantDuplicateKeyException extends JDOFatalDataStoreException {
21
22     public VersantDuplicateKeyException() {
23     }
24
25     public VersantDuplicateKeyException(String JavaDoc s) {
26         super(s);
27     }
28
29     public VersantDuplicateKeyException(String JavaDoc s,
30             Throwable JavaDoc[] throwables) {
31         super(s, throwables);
32     }
33
34     public VersantDuplicateKeyException(String JavaDoc s, Throwable JavaDoc throwable) {
35         super(s, throwable);
36     }
37
38     public VersantDuplicateKeyException(String JavaDoc s, Object JavaDoc o) {
39         super(s, o);
40     }
41 }
42
Popular Tags