public class ServerConfigException extends GlassFishIdeException
Modifier and Type | Field and Description |
---|---|
(package private) static String |
INVALID_EE_PLATFORM_TYPE
Exception message for invalid GlassFish JavaEE profile type.
|
(package private) static String |
INVALID_MODULE_TYPE_NAME
Exception message for invalid GlassFish module type name.
|
(package private) static String |
INVALID_SE_PLATFORM_VERSION
Exception message for invalid GlassFish JavaSE profile version.
|
Constructor and Description |
---|
ServerConfigException()
Constructs an instance of
ServerConfigException without
detail message. |
ServerConfigException(String msg)
Constructs an instance of
ServerConfigException with the
specified detail message. |
ServerConfigException(String msg,
Object... arguments)
Constructs an instance of
ServerConfigException with the
specified detail message and arguments. |
ServerConfigException(String msg,
Throwable cause)
Constructs an instance of
ServerConfigException with the
specified detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
static final String INVALID_SE_PLATFORM_VERSION
static final String INVALID_EE_PLATFORM_TYPE
static final String INVALID_MODULE_TYPE_NAME
public ServerConfigException()
ServerConfigException
without
detail message.public ServerConfigException(String msg)
ServerConfigException
with the
specified detail message.
msg
- The detail message.public ServerConfigException(String msg, Object... arguments)
ServerConfigException
with the
specified detail message and arguments.
Uses MessageFormat
to format message.
msg
- The detail message.arguments
- Arguments to be inserted into message.public ServerConfigException(String msg, Throwable cause)
ServerConfigException
with the
specified detail message and cause. Exception is logged on WARN level.
Note that the detail message associated with cause
is not
automatically incorporated in this runtime exception's detail message.
msg
- 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.)Copyright © 2013. All Rights Reserved.