All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.yadaframework.exceptions.InternalException Maven / Gradle / Ivy

There is a newer version: 0.7.7.R4
Show newest version
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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy