public class DataException extends GlassFishIdeException
All exceptions are logging themselves on WARNING level when created.
Modifier and Type | Field and Description |
---|---|
(package private) static String |
INVALID_ADMIN_INTERFACE
Exception message for invalid GlassFish administration interface
type.
|
(package private) static String |
INVALID_CONTAINER
Exception message for invalid GlassFish version.
|
static String |
INVALID_URL
Exception message for invalid GlassFish URL.
|
(package private) static String |
SERVER_HOME_NO_VERSION
Exception for unknown GlassFish version in GlassFish home directory.
|
(package private) static String |
SERVER_HOME_NONEXISTENT
Exception for non existent GlassFish home directory.
|
(package private) static String |
SERVER_HOME_NULL
Exception for GlassFish home directory null value.
|
(package private) static String |
SERVER_ROOT_NONEXISTENT
Exception for non existent GlassFish installation root directory.
|
(package private) static String |
SERVER_ROOT_NULL
Exception for GlassFish installation root directory null value.
|
(package private) static String |
SERVER_URL_NULL
Exception for GlassFish URL null value.
|
Constructor and Description |
---|
DataException()
Constructs an instance of
DataException without
detail message. |
DataException(String msg)
Constructs an instance of
DataException with the
specified detail message. |
DataException(String msg,
Object... arguments)
Constructs an instance of
DataException with the
specified detail message and arguments. |
DataException(String msg,
Throwable cause)
Constructs an instance of
DataException with the
specified detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
static final String INVALID_ADMIN_INTERFACE
static final String INVALID_CONTAINER
public static final String INVALID_URL
static final String SERVER_ROOT_NULL
static final String SERVER_HOME_NULL
static final String SERVER_ROOT_NONEXISTENT
static final String SERVER_HOME_NONEXISTENT
static final String SERVER_HOME_NO_VERSION
static final String SERVER_URL_NULL
public DataException()
DataException
without
detail message.public DataException(String msg)
DataException
with the
specified detail message.
msg
- The detail message.public DataException(String msg, Object... arguments)
DataException
with the
specified detail message and arguments.
Uses MessageFormat
to format message.
msg
- The detail message.arguments
- Arguments to be inserted into message.public DataException(String msg, Throwable cause)
DataException
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.