001/* 002 * (C) Copyright 2013 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 */ 015package org.nuxeo.ecm.platform.preview.api; 016 017/** 018 * Preview exception. Use this when there is nothing to preview and this is not an error. ie when there is no Blob to 019 * preview (not when it cannot be found) 020 */ 021public class NothingToPreviewException extends PreviewException { 022 023 private static final long serialVersionUID = 1L; 024 025 public NothingToPreviewException(Throwable cause) { 026 super(cause); 027 } 028 029 public NothingToPreviewException(String message, Throwable cause) { 030 super(message, cause); 031 } 032 033 public NothingToPreviewException(String message) { 034 super(message); 035 } 036 037}