001/* 002 * Copyright (c) 2006-2015 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 * Exception thrown when failing to lock or unlock a document. 016 * 017 * @see CoreSession#setLock 018 * @see CoreSession#removeLock 019 */ 020public class LockException extends NuxeoException { 021 022 private static final long serialVersionUID = 1L; 023 024 public LockException() { 025 } 026 027 public LockException(String message) { 028 super(message); 029 } 030 031 public LockException(String message, Throwable cause) { 032 super(message, cause); 033 } 034 035 public LockException(Throwable cause) { 036 super(cause); 037 } 038 039}