001/* 002 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Bogdan Stefanescu 011 */ 012package org.nuxeo.ecm.core.model; 013 014import org.nuxeo.ecm.core.api.NuxeoException; 015 016/** 017 * Deprecated and never thrown, kept for compatibility so that old code catching this still works. 018 * <p> 019 * Use {@link org.nuxeo.ecm.core.api.DocumentExistsException} instead. 020 * 021 * @deprecated since 7.4, use org.nuxeo.ecm.core.api.DocumentExistsException instead 022 */ 023@Deprecated 024public class DocumentExistsException extends NuxeoException { 025 026 private static final long serialVersionUID = 1L; 027 028 public DocumentExistsException() { 029 } 030 031 public DocumentExistsException(String message) { 032 super(message); 033 } 034 035 public DocumentExistsException(String message, Throwable cause) { 036 super(message, cause); 037 } 038 039 public DocumentExistsException(Throwable cause) { 040 super(cause); 041 } 042 043}