001 package org.bukkit.plugin;
002
003 /**
004 * Thrown when attempting to load an invalid Plugin file
005 */
006 public class UnknownDependencyException extends RuntimeException {
007
008 private static final long serialVersionUID = 5721389371901775895L;
009
010 /**
011 * Constructs a new UnknownDependencyException based on the given
012 * Exception
013 *
014 * @param throwable Exception that triggered this Exception
015 */
016 public UnknownDependencyException(final Throwable throwable) {
017 super(throwable);
018 }
019
020 /**
021 * Constructs a new UnknownDependencyException with the given message
022 *
023 * @param message Brief message explaining the cause of the exception
024 */
025 public UnknownDependencyException(final String message) {
026 super(message);
027 }
028
029 /**
030 * Constructs a new UnknownDependencyException based on the given
031 * Exception
032 *
033 * @param message Brief message explaining the cause of the exception
034 * @param throwable Exception that triggered this Exception
035 */
036 public UnknownDependencyException(final Throwable throwable, final String message) {
037 super(message, throwable);
038 }
039
040 /**
041 * Constructs a new UnknownDependencyException
042 */
043 public UnknownDependencyException() {
044
045 }
046 }