com.github.mathiewz.slick.SlickException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of modernized-slick Show documentation
Show all versions of modernized-slick Show documentation
The main purpose of this libraryis to modernize and maintain the slick2D library.
The newest version!
package com.github.mathiewz.slick;
/**
* A generic exception thrown by everything in the library
*
* @author kevin
*/
public class SlickException extends RuntimeException {
/**
* 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);
}
/**
* Create a new exception with a detail message
*
* @param e
* The exception causing this exception to be thrown
*/
public SlickException(Exception e) {
this(e.getMessage(), e);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy