1package org.newdawn.slick; 2 3/** 4 * A generic exception thrown by everything in the library 5 * 6 * @author kevin 7 */ 8public class SlickException extends Exception { 9 /** 10 * Create a new exception with a detail message 11 * 12 * @param message The message describing the cause of this exception 13 */ 14 public SlickException(String message) { 15 super(message); 16 } 17 18 /** 19 * Create a new exception with a detail message 20 * 21 * @param message The message describing the cause of this exception 22 * @param e The exception causing this exception to be thrown 23 */ 24 public SlickException(String message, Throwable e) { 25 super(message, e); 26 } 27} 28 29