001/* 002 * Copyright (c) 2013 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 * Florent Guillaume 011 */ 012package org.nuxeo.ecm.core.api; 013 014/** 015 * An exception thrown if a concurrent update was detected. 016 * <p> 017 * Helpful for callers that may want to retry things. 018 * 019 * @since 5.8 020 */ 021public class ConcurrentUpdateException extends NuxeoException { 022 023 private static final long serialVersionUID = 1L; 024 025 public ConcurrentUpdateException() { 026 } 027 028 public ConcurrentUpdateException(String message) { 029 super(message); 030 } 031 032 public ConcurrentUpdateException(String message, Throwable cause) { 033 super(message, cause); 034 } 035 036 public ConcurrentUpdateException(Throwable cause) { 037 super(cause); 038 } 039 040}