de.lessvoid.nifty.slick2d.render.font.SlickLoadFontException Maven / Gradle / Ivy
package de.lessvoid.nifty.slick2d.render.font;
import de.lessvoid.nifty.slick2d.loaders.SlickLoadException;
/**
* This exception is expected to be thrown be the constructor of this class in case loading the specified font failed.
*
* @author Martin Karing <[email protected]>
*/
public final class SlickLoadFontException extends SlickLoadException {
/**
* The serialization UID.
*/
private static final long serialVersionUID = 4068721034678365719L;
/**
* Create the exception without an attached message or parent Throwable.
*/
public SlickLoadFontException() {
}
/**
* Create the exception with an attached message and without parent Throwable.
*
* @param msg The message that is attached to this exception
*/
public SlickLoadFontException(final String msg) {
super(msg);
}
/**
* Create the exception with an attached message and parent Throwable.
*
* @param msg The message that is attached to this exception
* @param e The throwable that caused this exception
*/
public SlickLoadFontException(final String msg, final Throwable e) {
super(msg, e);
}
/**
* Create the exception without an attached message and with parent Throwable.
*
* @param e The throwable that caused this exception
*/
public SlickLoadFontException(final Throwable e) {
super(e);
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy