25 lines
788 B
Java
25 lines
788 B
Java
package zone.themcgamer.api;
|
|
|
|
/**
|
|
* @author Braydon
|
|
*/
|
|
public class APIException extends RuntimeException {
|
|
/**
|
|
* Constructs a new runtime exception with {@code null} as its
|
|
* detail message. The cause is not initialized, and may subsequently be
|
|
* initialized by a call to {@link #initCause}.
|
|
*/
|
|
public APIException() {}
|
|
|
|
/**
|
|
* Constructs a new runtime exception with the specified detail message.
|
|
* The cause is not initialized, and may subsequently be initialized by a
|
|
* call to {@link #initCause}.
|
|
*
|
|
* @param message the detail message. The detail message is saved for
|
|
* later retrieval by the {@link #getMessage()} method.
|
|
*/
|
|
public APIException(String message) {
|
|
super(message);
|
|
}
|
|
} |