net.yadaframework.exceptions.InternalException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yadaweb Show documentation
Show all versions of yadaweb Show documentation
Some useful tasks for the Yada Framework
package net.yadaframework.exceptions;
import org.slf4j.helpers.MessageFormatter;
/**
* Unchecked exception thrown when something is inconsistent
* @deprecated use YadaInternalException instead
*/
@Deprecated
public class InternalException extends RuntimeException {
private static final long serialVersionUID = -1L;
public InternalException() {
}
public InternalException(String message) {
super(message);
}
public InternalException(String format, Object... params) {
super(MessageFormatter.arrayFormat(format, params).getMessage());
}
public InternalException(Throwable cause) {
super(cause);
}
public InternalException(String message, Throwable cause) {
super(message, cause);
}
}