Class ParseException

  • All Implemented Interfaces:

    public class ParseException
    extends java.lang.RuntimeException
    Signals a parse error. Parse errors when receiving a message will typically trigger 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.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ParseException

        public ParseException()
        Creates a ParseException without details.
      • ParseException

        public ParseException​(java.lang.String message)
        Creates a ParseException with a detail message.
        message - the exception detail message, or null