/* * Copyright (c) 2013-2016 Stuart Boston * * This file is part of the OMDB API. * * The OMDB API is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * The OMDB API is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with the OMDB API. If not, see <http://www.gnu.org/licenses/>. * */ package com.omertron.omdbapi; import java.net.URL; import org.yamj.api.common.exception.ApiException; import org.yamj.api.common.exception.ApiExceptionType; public class OMDBException extends ApiException { public OMDBException(ApiExceptionType exceptionType, String response) { super(exceptionType, response); } public OMDBException(ApiExceptionType exceptionType, String response, URL url) { super(exceptionType, response, url); } public OMDBException(ApiExceptionType exceptionType, String response, int responseCode, URL url) { super(exceptionType, response, responseCode, url); } public OMDBException(ApiExceptionType exceptionType, String response, String url) { super(exceptionType, response, url); } public OMDBException(ApiExceptionType exceptionType, String response, int responseCode, String url) { super(exceptionType, response, responseCode, url); } public OMDBException(ApiExceptionType exceptionType, String response, URL url, Throwable cause) { super(exceptionType, response, url, cause); } public OMDBException(ApiExceptionType exceptionType, String response, int responseCode, URL url, Throwable cause) { super(exceptionType, response, responseCode, url, cause); } public OMDBException(ApiExceptionType exceptionType, String response, String url, Throwable cause) { super(exceptionType, response, url, cause); } public OMDBException(ApiExceptionType exceptionType, String response, int responseCode, String url, Throwable cause) { super(exceptionType, response, responseCode, url, cause); } }