public class JarException extends GlassFishIdeException
All exceptions are logging themselves on WARNING level when created.
Modifier and Type | Field and Description |
---|---|
(package private) static String |
CLOSE_ERROR
Exception message for JAR file opening issues.
|
(package private) static String |
OPEN_ERROR
Exception message for JAR file opening issues.
|
Constructor and Description |
---|
JarException()
Constructs an instance of
JarException without
detail message. |
JarException(String msg)
Constructs an instance of
JarException with the
specified detail message. |
JarException(String msg,
Object... arguments)
Constructs an instance of
JarException with the
specified detail message and arguments. |
JarException(String msg,
Throwable cause)
Constructs an instance of
JarException with the
specified detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
static final String OPEN_ERROR
static final String CLOSE_ERROR
public JarException()
JarException
without
detail message.public JarException(String msg)
JarException
with the
specified detail message.
msg
- The detail message.public JarException(String msg, Object... arguments)
JarException
with the
specified detail message and arguments.
Uses MessageFormat
to format message.
msg
- The detail message.arguments
- Arguments to be inserted into message.public JarException(String msg, Throwable cause)
JarException
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.