mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
Former-commit-id: 1647fa32ef6894bd7db44f741f07c2f4dcdf9054 Former-commit-id: 0e5810dcfbe1fd59b13e7cabe9f1e93c5542da2d
28 lines
637 B
Java
28 lines
637 B
Java
package org.newdawn.slick;
|
|
|
|
/**
|
|
* A generic exception thrown by everything in the library
|
|
*
|
|
* @author kevin
|
|
*/
|
|
public class SlickException extends Exception {
|
|
/**
|
|
* Create a new exception with a detail message
|
|
*
|
|
* @param message The message describing the cause of this exception
|
|
*/
|
|
public SlickException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
/**
|
|
* Create a new exception with a detail message
|
|
*
|
|
* @param message The message describing the cause of this exception
|
|
* @param e The exception causing this exception to be thrown
|
|
*/
|
|
public SlickException(String message, Throwable e) {
|
|
super(message, e);
|
|
}
|
|
}
|