|
|||||||||||
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
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(java.lang.String message)
Creates a FatalStartupError containing the specified message and the DEFAULT_EXIT_CODE. |
|
FatalStartupError(java.lang.String message,
int exitCode)
Creates a FatalStartupError containing the specified message and exit code. |
|
FatalStartupError(java.lang.String message,
int exitCode,
java.lang.Throwable cause)
Creates a FatalStartupError containing the specified message, cause by exception, and the specified exit code. |
|
FatalStartupError(java.lang.String message,
java.lang.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(java.lang.String message)
message
- a descrption of the cause of the errorpublic FatalStartupError(java.lang.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(java.lang.String message, java.lang.Throwable cause)
message
- a descrption of the cause of the errorcause
- the cause of this exceptionpublic FatalStartupError(java.lang.String message, int exitCode, java.lang.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 exceptionMethod Detail |
public int getExitCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |