net.happyonroad.component.container.LaunchException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-component-framework Show documentation
Show all versions of spring-component-framework Show documentation
The spring component framework is used to setup a plugin based, micro-kernel, standalone application
(today, we will support webapp in later releases) which is based on SpringFramework.
It can help you decouple your application into several components clearly with zero invasion
and keep your application consistent between develop time and runtime.
The newest version!
/**
* @author XiongJie, Date: 13-9-3
*/
package net.happyonroad.component.container;
/**
* 运行异常
*/
public class LaunchException extends Exception {
private int exitCode;
public LaunchException(String message) {
this(message, 100);
}
public LaunchException(String message, int exitCode) {
super(message);
this.exitCode = exitCode;
}
public int getExitCode() {
return exitCode;
}
}