Class SegmentErrorInfo


  • public class SegmentErrorInfo
    extends Object
    This class is used to represent errors related to a segment.
    • Constructor Detail

      • SegmentErrorInfo

        public SegmentErrorInfo​(String timestamp,
                                String errorMessage,
                                String stackTrace)
        This constructor is specifically for JSON ser/de.
        Parameters:
        timestamp - Time stamp of the error in Simple Date Format.
        errorMessage - Error message
        stackTrace - Exception stack trace
      • SegmentErrorInfo

        public SegmentErrorInfo​(long timestampMs,
                                String errorMessage,
                                Exception exception)
        Constructor for the class
        Parameters:
        timestampMs - Timestamp of error/exception
        errorMessage - Error message
        exception - Exception
    • Method Detail

      • getStackTrace

        public String getStackTrace()
      • getErrorMessage

        public String getErrorMessage()
      • getTimestamp

        public String getTimestamp()