001/* 002 * cilla - Blog Management System 003 * 004 * Copyright (C) 2012 Richard "Shred" Körber 005 * http://cilla.shredzone.org 006 * 007 * This program is free software: you can redistribute it and/or modify 008 * it under the terms of the GNU Affero General Public License as published 009 * by the Free Software Foundation, either version 3 of the License, or 010 * (at your option) any later version. 011 * 012 * This program is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 015 * GNU General Public License for more details. 016 * 017 * You should have received a copy of the GNU Affero General Public License 018 * along with this program. If not, see <http://www.gnu.org/licenses/>. 019 */ 020package org.shredzone.cilla.ws.exception; 021 022/** 023 * A generic exception that is thrown when a service call fails. 024 * 025 * @author Richard "Shred" Körber 026 */ 027public class CillaServiceException extends Exception { 028 private static final long serialVersionUID = 6994129315996139644L; 029 030 public CillaServiceException() { 031 super(); 032 } 033 034 public CillaServiceException(String msg) { 035 super(msg); 036 } 037 038 public CillaServiceException(Throwable t) { 039 super(t); 040 } 041 042 public CillaServiceException(String msg, Throwable t) { 043 super(msg, t); 044 } 045 046}