public class NBootException extends RuntimeException implements NExceptionWithExitCodeBase, NDetachedExceptionBase
| Constructor and Description |
|---|
NBootException(NBootMsg message)
Constructs a new runtime exception with the specified detail message.
|
NBootException(NBootMsg message,
int exitCode)
Constructs a new runtime exception with the specified detail message.
|
NBootException(NBootMsg message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and
cause.
|
NBootException(NBootMsg message,
Throwable cause,
int exitCode)
Constructs a new runtime exception with the specified detail message and
cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExitCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NBootException(NBootMsg message)
Throwable.initCause(java.lang.Throwable).message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.public NBootException(NBootMsg message, Throwable cause)
cause is not automatically incorporated in
this runtime exception's detail message.message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public NBootException(NBootMsg message, int exitCode)
Throwable.initCause(java.lang.Throwable).exitCode - exit codemessage - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.public NBootException(NBootMsg message, Throwable cause, int exitCode)
cause is not automatically incorporated in
this runtime exception's detail message.exitCode - exit codemessage - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public int getExitCode()
getExitCode in interface NExceptionWithExitCodeBaseCopyright © 2026 vpc open source initiative. All rights reserved.