Package net.sourceforge.jnlp
Class LaunchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sourceforge.jnlp.LaunchException
- All Implemented Interfaces:
Serializable
Thrown when a JNLP application, applet, or installer could not
be created.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLaunchException
(String message) Constructs a LaunchException with the specified detail message.LaunchException
(String message, Throwable cause) Creates a LaunchException with a cause and detail messageLaunchException
(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LaunchException
public LaunchException(JNLPFile file, Exception cause, String severity, String category, String summary, String description) Creates a LaunchException without detail message.- Parameters:
file
- jnlp-file which caused exceptioncause
- cause of exceptionseverity
- severity of exceptioncategory
- category of exceptionsummary
- short summary of exceptiondescription
- full description of exception
-
LaunchException
Creates a LaunchException with a cause.- Parameters:
cause
- cause of exception
-
LaunchException
Creates a LaunchException with a cause and detail message- Parameters:
message
- text of exceptioncause
- cause of exception
-
LaunchException
Constructs a LaunchException with the specified detail message.- Parameters:
message
- the detail message
-
-
Method Details
-
getFile
- Returns:
- the JNLPFile being launched.
-
getCategory
- Returns:
- the category string, a short description of the exception suitable for displaying in a window title.
-
getSummary
- Returns:
- a one-sentence summary of the problem.
-
getDescription
- Returns:
- a description of the exception and the action being performed when the exception occurred.
-
getSeverity
- Returns:
- a short description of the severity of the problem.
-
getLaunchExceptionChain
-