Class ParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.adoptopenjdk.icedteaweb.xmlparser.ParseException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RequiredElementException
public class ParseException extends java.lang.ExceptionThrown to indicate that an error has occurred while parsing a JNLP file.- Version:
- $Revision: 1.7 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static ParserTypeused
-
Constructor Summary
Constructors Constructor Description ParseException(java.lang.String message)Create a parse exception with the specified message.ParseException(java.lang.String message, java.lang.Throwable cause)Create a parse exception with the specified message and cause.ParseException(java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringgetParserSettingsMessage()static voidsetUsed(ParserType us)
-
-
-
Field Detail
-
used
private static ParserType used
-
-
Constructor Detail
-
ParseException
public ParseException(java.lang.String message)
Create a parse exception with the specified message.- Parameters:
message- to be shown in exception
-
ParseException
public ParseException(java.lang.String message, java.lang.Throwable cause)Create a parse exception with the specified message and cause.- Parameters:
message- to be used by exceptioncause- cause of exception
-
ParseException
public ParseException(java.lang.Throwable cause)
-
-
Method Detail
-
setUsed
public static void setUsed(ParserType us)
-
getParserSettingsMessage
private static java.lang.String getParserSettingsMessage()
-
-