Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends ProtocolException
Signals a protocol exception due to failure to parse a message element.
Since:
4.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • errorOffset

      private final int errorOffset
  • Constructor Details

    • ParseException

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

      public ParseException(String message)
      Creates a ParseException with a detail message.
      Parameters:
      message - the exception detail message, or null
    • ParseException

      public ParseException(String description, CharSequence text, int off, int len, int errorOffset)
      Creates a ParseException with parsing context details.
      Since:
      5.0
    • ParseException

      public ParseException(String description, CharSequence text, int off, int len)
      Creates a ParseException with parsing context details.
      Since:
      5.0
  • Method Details

    • getErrorOffset

      public int getErrorOffset()
      Since:
      5.0