netx.jnlp

Class ParseException


public class ParseException
extends Exception

Thrown to indicate that an error has occurred while parsing a JNLP file.
Version:
$Revision: 1.7 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

ParseException(String message)
Create a parse exception with the specified message.
ParseException(String message, Throwable cause)
Create a parse exception with the specified message and cause.

Method Summary

Throwable
getCause()
Return the cause of the launch exception or null if there is no cause exception.
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)

Constructor Details

ParseException

public ParseException(String message)
Create a parse exception with the specified message.

ParseException

public ParseException(String message,
                      Throwable cause)
Create a parse exception with the specified message and cause.

Method Details

getCause

public Throwable getCause()
Return the cause of the launch exception or null if there is no cause exception.

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)