Commit 814067b2 authored by Lubomir Bulej's avatar Lubomir Bulej

Streamline DiSLFatalException

parent bb57c431
......@@ -5,29 +5,23 @@ package ch.usi.dag.disl;
* the implementation of DiSL itself. Users will hopefully encounter this
* exception very rarely.
*/
@SuppressWarnings ("serial")
public class DiSLFatalException extends RuntimeException {
private static final long serialVersionUID = -1367296993008634784L;
//
public DiSLFatalException (final Throwable cause) {
super (cause);
}
public DiSLFatalException (final String message) {
super (message);
}
public DiSLFatalException (final String message, final Throwable cause) {
super (message, cause);
public DiSLFatalException (final String format, final Object ... args) {
super (String.format (format, args));
}
public DiSLFatalException (final String format, final Object ... args) {
super (String.format (format, args));
public DiSLFatalException (
final Throwable cause, final String format, final Object ... args
) {
super (String.format (format, args), cause);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment