mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 22:01:52 +09:00
added sources for Slick
Former-commit-id: 1647fa32ef6894bd7db44f741f07c2f4dcdf9054 Former-commit-id: 0e5810dcfbe1fd59b13e7cabe9f1e93c5542da2d
This commit is contained in:
27
lib/slick-source/org/newdawn/slick/SlickException.java
Normal file
27
lib/slick-source/org/newdawn/slick/SlickException.java
Normal file
@@ -0,0 +1,27 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user