1 /* 2 * Copyright (c) 2010 Commsen International. All rights reserved. 3 * 4 * This file is part of JWebThumb library. 5 * 6 * JWebThumb library is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU Lesser General Public License as published by 8 * the Free Software Foundation, either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * JWebThumb library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public License 17 * along with JWebThumb library. If not, see <http://www.gnu.org/licenses/lgpl.html>. 18 */ 19 package com.commsen.jwebthumb; 20 21 /*** 22 * Custom exception that indicates that something went wrong during webthumb API calls. 23 * 24 * @author <a href="mailto:MilenDyankov@gmail.com">Milen Dyankov</a> 25 * 26 */ 27 public class WebThumbException extends Exception { 28 29 /*** 30 * 31 */ 32 private static final long serialVersionUID = 1L; 33 34 35 public WebThumbException() { 36 super(); 37 } 38 39 40 public WebThumbException(String message, Throwable cause) { 41 super(message, cause); 42 } 43 44 45 public WebThumbException(String message) { 46 super(message); 47 } 48 49 50 public WebThumbException(Throwable cause) { 51 super(cause); 52 } 53 54 }