This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
2021-02-19 15:11:08 -05:00

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);
}
}