public class ParseException
extends java.lang.RuntimeException
ProtocolException
. Parse errors that do not occur during
protocol execution may be handled differently.
This is an unchecked exception, since there are cases where
the data to be parsed has been generated and is therefore
known to be parseable.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ParseException()
Creates a
ParseException without details. |
ParseException(java.lang.String message)
Creates a
ParseException with a detail message. |
private static final long serialVersionUID
public ParseException()
ParseException
without details.public ParseException(java.lang.String message)
ParseException
with a detail message.message
- the exception detail message, or null