001/* 002 * flattr4j - A Java library for Flattr 003 * 004 * Copyright (C) 2011 Richard "Shred" Körber 005 * http://flattr4j.shredzone.org 006 * 007 * This program is free software: you can redistribute it and/or modify 008 * it under the terms of the GNU General Public License / GNU Lesser 009 * General Public License as published by the Free Software Foundation, 010 * either version 3 of the License, or (at your option) any later version. 011 * 012 * Licensed under the Apache License, Version 2.0 (the "License"); 013 * you may not use this file except in compliance with the License. 014 * 015 * This program is distributed in the hope that it will be useful, 016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 018 */ 019package org.shredzone.flattr4j.exception; 020 021/** 022 * A generic Flattr exception, like a network error or an unexpected response from the 023 * Flattr web service. More detailed exceptions are derived from this. 024 * 025 * @author Richard "Shred" Körber 026 */ 027public class FlattrException extends Exception { 028 private static final long serialVersionUID = 3095863989605383892L; 029 030 public FlattrException() { 031 super(); 032 } 033 034 public FlattrException(String msg) { 035 super(msg); 036 } 037 038 public FlattrException(Throwable cause) { 039 super(cause); 040 } 041 042 public FlattrException(String msg, Throwable cause) { 043 super(msg, cause); 044 } 045 046}