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