Class LaunchException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LaunchException
    extends java.lang.Exception
    Thrown when a JNLP application, applet, or installer could not be created.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LaunchException​(java.lang.String message)
      Constructs a LaunchException with the specified detail message.
      LaunchException​(java.lang.String message, java.lang.Throwable cause)
      Creates a LaunchException with a cause and detail message
      LaunchException​(java.lang.Throwable cause)
      Creates a LaunchException with a cause.
      LaunchException​(JNLPFile file, java.lang.Exception cause, java.lang.String severity, java.lang.String category, java.lang.String summary, java.lang.String description)
      Creates a LaunchException without detail message.
    • Constructor Detail

      • LaunchException

        public LaunchException​(JNLPFile file,
                               java.lang.Exception cause,
                               java.lang.String severity,
                               java.lang.String category,
                               java.lang.String summary,
                               java.lang.String description)
        Creates a LaunchException without detail message.
        Parameters:
        file - jnlp-file which caused exception
        cause - cause of exception
        severity - severity of exception
        category - category of exception
        summary - short summary of exception
        description - full description of exception
      • LaunchException

        public LaunchException​(java.lang.Throwable cause)
        Creates a LaunchException with a cause.
        Parameters:
        cause - cause of exception
      • LaunchException

        public LaunchException​(java.lang.String message,
                               java.lang.Throwable cause)
        Creates a LaunchException with a cause and detail message
        Parameters:
        message - text of exception
        cause - cause of exception
      • LaunchException

        public LaunchException​(java.lang.String message)
        Constructs a LaunchException with the specified detail message.
        Parameters:
        message - the detail message
    • Method Detail

      • getFile

        public JNLPFile getFile()
        Returns:
        the JNLPFile being launched.
      • getCategory

        public java.lang.String getCategory()
        Returns:
        the category string, a short description of the exception suitable for displaying in a window title.
      • getSummary

        public java.lang.String getSummary()
        Returns:
        a one-sentence summary of the problem.
      • getDescription

        public java.lang.String getDescription()
        Returns:
        a description of the exception and the action being performed when the exception occurred.
      • getSeverity

        public java.lang.String getSeverity()
        Returns:
        a short description of the severity of the problem.