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 *     Bogdan Stefanescu
011 *     Florent Guillaume
012 */
013package org.nuxeo.ecm.core.api.model;
014
015import org.nuxeo.ecm.core.api.PropertyException;
016
017/**
018 * Exception thrown when attempting to write to a read-only property.
019 */
020public class ReadOnlyPropertyException extends PropertyException {
021
022    private static final long serialVersionUID = 1L;
023
024    public ReadOnlyPropertyException() {
025        super();
026    }
027
028    public ReadOnlyPropertyException(String message) {
029        super(message);
030    }
031
032    public ReadOnlyPropertyException(String message, Throwable cause) {
033        super(message, cause);
034    }
035
036    public ReadOnlyPropertyException(Throwable cause) {
037        super(cause);
038    }
039
040}