001 package org.bukkit.plugin; 002 003 @SuppressWarnings("serial") 004 public class AuthorNagException extends RuntimeException { 005 private final String message; 006 007 /** 008 * Constructs a new AuthorNagException based on the given Exception 009 * 010 * @param message Brief message explaining the cause of the exception 011 */ 012 public AuthorNagException(final String message) { 013 this.message = message; 014 } 015 016 @Override 017 public String getMessage() { 018 return message; 019 } 020 }