Class ExceptionInfo


  • public class ExceptionInfo
    extends Object
    An immutable class providing a view of ExceptionInfo
    • Constructor Detail

      • ExceptionInfo

        public ExceptionInfo​(String stackTrace,
                             String lastTime,
                             String firstTime,
                             int count,
                             String logging)
    • Method Detail

      • getStackTrace

        public String getStackTrace()
        Get stack trace of exception. First two lines of stack trace is used for aggregating exception.
        Returns:
        Stack trace of exception
      • getLastTime

        public String getLastTime()
        Get last time the exception occurred in the metrics collection interval
        Returns:
        Last Time the exception occurred
      • getFirstTime

        public String getFirstTime()
        Get first time the exception occurred in the metrics collection interval
        Returns:
        First time the exception occurred
      • getCount

        public int getCount()
        Get number of time exception occurred in the metrics collection interval
        Returns:
        Number of time exception occurred
      • getLogging

        public String getLogging()
        Get additional text logged.
        Returns:
        Additional text logged.