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

java.lang.ExceptionInInitializerError Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package java.lang;

public class ExceptionInInitializerError extends LinkageError {
	private Throwable exception;

	public ExceptionInInitializerError() {
		initCause(null);  // Disallow subsequent initCause
	}

	public ExceptionInInitializerError(Throwable thrown) {
		initCause(null);  // Disallow subsequent initCause
		this.exception = thrown;
	}

	public ExceptionInInitializerError(String s) {
		super(s);
		initCause(null);  // Disallow subsequent initCause
	}

	public Throwable getException() {
		return exception;
	}

	public Throwable getCause() {
		return exception;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy