Class ParsingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.arpnetworking.metrics.common.parsers.exceptions.ParsingException
All Implemented Interfaces:
Serializable

public class ParsingException extends Exception
Exception thrown when a Parser fails to parse the data.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot io)
See Also:
  • Constructor Details

    • ParsingException

      public ParsingException(String message, byte[] offendingData)
      Public constructor with a description.
      Parameters:
      message - Describes the exceptional condition.
      offendingData - The raw data that failed to parse.
    • ParsingException

      public ParsingException(String message, byte[] offendingData, Throwable cause)
      Public constructor with a description and cause.
      Parameters:
      message - Describes the exceptional condition.
      offendingData - The raw data that failed to parse.
      cause - Causing exception.
  • Method Details

    • getOffendingData

      public byte[] getOffendingData()