|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
org.apache.xbean.server.main.FatalStartupError
public class FatalStartupError
Indicates that a fatal error occured while starting the server.
| Field Summary | |
|---|---|
static int |
DEFAULT_EXIT_CODE
The default exit code assigned to new exception if an exit code is not provided. |
| Constructor Summary | |
|---|---|
FatalStartupError(String message)
Creates a FatalStartupError containing the specified message and the DEFAULT_EXIT_CODE. |
|
FatalStartupError(String message,
int exitCode)
Creates a FatalStartupError containing the specified message and exit code. |
|
FatalStartupError(String message,
int exitCode,
Throwable cause)
Creates a FatalStartupError containing the specified message, cause by exception, and the specified exit code. |
|
FatalStartupError(String message,
Throwable cause)
Creates a FatalStartupError containing the specified message, cause by exception, and the DEFAULT_EXIT_CODE. |
|
| Method Summary | |
|---|---|
int |
getExitCode()
Gets the number that should be passed to System.exit(int) when the virtual machine is halted. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_EXIT_CODE
| Constructor Detail |
|---|
public FatalStartupError(String message)
message - a descrption of the cause of the error
public FatalStartupError(String message,
int exitCode)
message - a descrption of the cause of the errorexitCode - the exit code that should be passed to System.exit(int)
public FatalStartupError(String message,
Throwable cause)
message - a descrption of the cause of the errorcause - the cause of this exception
public FatalStartupError(String message,
int exitCode,
Throwable cause)
message - a descrption of the cause of the errorexitCode - the exit code that should be passed to System.exit(int)cause - the cause of this exception| Method Detail |
|---|
public int getExitCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||