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 * "Stephane Lacoin [aka matic] <slacoin at nuxeo.com>" 011 */ 012package org.nuxeo.ecm.core.management.api; 013 014/** 015 * Raised if something goes wrong with the storage 016 * 017 * @author "Stephane Lacoin [aka matic] <slacoin at nuxeo.com>" 018 */ 019public class StorageError extends Error { 020 021 public StorageError() { 022 super(); 023 } 024 025 public StorageError(String message, Throwable cause) { 026 super(message, cause); 027 } 028 029 public StorageError(String message) { 030 super(message); 031 throw new UnsupportedOperationException(); 032 } 033 034 public StorageError(Throwable cause) { 035 super(cause); 036 throw new UnsupportedOperationException(); 037 } 038 039 private static final long serialVersionUID = 1L; 040 041}