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

panda.lang.Executable Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.lang;


public abstract class Executable implements Runnable {
	public void run() {
		try {
			exec();
		}
		catch (Throwable e) {
			Exceptions.rethrowRuntime(e);
		}
	}
	
	protected abstract void exec() throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy