All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.mrapp.parser.feed.common.builder.BuilderException Maven / Gradle / Ivy

/*
 * JavaFeedParserCommon Copyright 2013-2014 Michael Rapp
 *
 * This program 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
 * (at your option) any later version.
 *
 * This program 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 this program.  If not, see . 
 */
package de.mrapp.parser.feed.common.builder;

/**
 * An abstract base class for all exceptions, which are thrown, if an error
 * occurs while creating instances with a builder.
 * 
 * @author Michael Rapp
 * 
 * @since 1.0.0
 */
public abstract class BuilderException extends Exception {

	/**
	 * The constant serial version UID.
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Creates a new exception, which which is thrown, if an error occurs while
	 * creating instances with a builder.
	 * 
	 * @param message
	 *            The exception's message as a {@link String}
	 */
	public BuilderException(final String message) {
		super(message);
	}

	/**
	 * Creates a new exception, which which is thrown, if an error occurs while
	 * creating instances with a builder.
	 * 
	 * @param cause
	 *            The {@link Throwable}, which caused the exception
	 */
	public BuilderException(final Throwable cause) {
		super(cause);
	}

	/**
	 * Creates a new exception, which which is thrown, if an error occurs while
	 * creating instances with a builder.
	 * 
	 * @param message
	 *            The exception's message as a {@link String}
	 * @param cause
	 *            The {@link Throwable}, which caused the exception
	 */
	public BuilderException(final String message, final Throwable cause) {
		super(message, cause);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy