01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.jdo;
12:
13: import javax.jdo.JDOFatalDataStoreException;
14:
15: /**
16: * This exception is thrown when duplicate primary keys are detected by the
17: * backend.
18: */
19: public class VersantDuplicateKeyException extends
20: JDOFatalDataStoreException {
21:
22: public VersantDuplicateKeyException() {
23: }
24:
25: public VersantDuplicateKeyException(String s) {
26: super (s);
27: }
28:
29: public VersantDuplicateKeyException(String s, Throwable[] throwables) {
30: super (s, throwables);
31: }
32:
33: public VersantDuplicateKeyException(String s, Throwable throwable) {
34: super (s, throwable);
35: }
36:
37: public VersantDuplicateKeyException(String s, Object o) {
38: super(s, o);
39: }
40: }
|