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

io.polaris.core.err.UnimplementedException Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.polaris.core.err;

/**
 * @author Qt
 * @since 1.8,  Aug 06, 2023
 */
public class UnimplementedException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	public UnimplementedException(Throwable cause) {
		super(cause instanceof UnimplementedException ? cause.getCause() : cause);
	}

	@Override
	public synchronized Throwable getCause() {
		return super.getCause();
	}

	public static UnimplementedException of(Throwable e) {
		return e instanceof UnimplementedException ? (UnimplementedException) e : new UnimplementedException(e);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy