netx.jnlp
Class LaunchException
Exception
netx.jnlp.LaunchException
public class LaunchException
extends Exception
Thrown when a JNLP application, applet, or installer could not
be created.
LaunchException(String message) - Constructs a LaunchException with the specified detail
message.
|
LaunchException(String message, Throwable cause) - Creates a LaunchException with a cause and detail message
|
LaunchException(Throwable cause) - Creates a LaunchException with a cause.
|
LaunchException(JNLPFile file, Exception cause, String severity, String category, String summary, String description) - Creates a LaunchException without detail message.
|
String | getCategory() - Returns the category string, a short description of the
exception suitable for displaying in a window title.
|
Throwable | getCause() - Return the cause of the launch exception or null if there
is no cause exception.
|
Throwable[] | getCauses() - Returns the causes for this exception.
|
String | getDescription() - Return a description of the exception and the action being
performed when the exception occurred.
|
JNLPFile | getFile() - Returns the JNLPFile being launched.
|
String | getSeverity() - Returns a short description of the severity of the problem.
|
String | getSummary() - Returns a one-sentence summary of the problem.
|
void | printStackTrace(PrintStream stream) - Print the stack trace and the cause exception (1.3
compatible)
|
void | printStackTrace(PrintWriter stream) - Print the stack trace and the cause exception (1.3
compatible)
|
LaunchException
public LaunchException(String message)
Constructs a LaunchException with the specified detail
message.
message
- the detail message
LaunchException
public LaunchException(String message,
Throwable cause)
Creates a LaunchException with a cause and detail message
LaunchException
public LaunchException(Throwable cause)
Creates a LaunchException with a cause.
LaunchException
public LaunchException(JNLPFile file,
Exception cause,
String severity,
String category,
String summary,
String description)
Creates a LaunchException without detail message.
getCategory
public String getCategory()
Returns the category string, a short description of the
exception suitable for displaying in a window title.
getCause
public Throwable getCause()
Return the cause of the launch exception or null if there
is no cause exception.
getCauses
public Throwable[] getCauses()
Returns the causes for this exception. This method is
useful on JRE 1.3 since getCause is not a standard method,
and will be removed once netx no longer supports 1.3.
getDescription
public String getDescription()
Return a description of the exception and the action being
performed when the exception occurred.
getFile
public JNLPFile getFile()
Returns the JNLPFile being launched.
getSeverity
public String getSeverity()
Returns a short description of the severity of the problem.
getSummary
public String getSummary()
Returns a one-sentence summary of the problem.
printStackTrace
public void printStackTrace(PrintStream stream)
Print the stack trace and the cause exception (1.3
compatible)
printStackTrace
public void printStackTrace(PrintWriter stream)
Print the stack trace and the cause exception (1.3
compatible)