Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
AuthorNagException.java
1 package org.bukkit.plugin;
2 
3 @SuppressWarnings("serial")
4 public class AuthorNagException extends RuntimeException {
5  private final String message;
6 
7  /**
8  * Constructs a new AuthorNagException based on the given Exception
9  *
10  * @param message Brief message explaining the cause of the exception
11  */
12  public AuthorNagException(final String message) {
13  this.message = message;
14  }
15 
16  @Override
17  public String getMessage() {
18  return message;
19  }
20 }