public class ParseException extends 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.Constructor and Description |
---|
ParseException()
Creates a
ParseException without details. |
ParseException(String message)
Creates a
ParseException with a detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParseException()
ParseException
without details.public ParseException(String message)
ParseException
with a detail message.message
- the exception detail message, or null
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.