Class LaunchException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sourceforge.jnlp.LaunchException
All Implemented Interfaces:
Serializable

public class LaunchException extends Exception
Thrown when a JNLP application, applet, or installer could not be created.
See Also:
  • 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 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(Throwable cause)
      Creates a LaunchException with a cause.
      Parameters:
      cause - cause of exception
    • LaunchException

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

      public LaunchException(String message)
      Constructs a LaunchException with the specified detail message.
      Parameters:
      message - the detail message
  • Method Details

    • getFile

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

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

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

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

      public String getSeverity()
      Returns:
      a short description of the severity of the problem.
    • getLaunchExceptionChain

      public static List<LaunchException.LaunchExceptionWithStamp> getLaunchExceptionChain()