Class ErrorCount

  • All Implemented Interfaces:
    java.io.Serializable

    @Beta
    public class ErrorCount
    extends java.lang.Object
    implements java.io.Serializable
    A pair of error class name and number of times the error occurred.
    Author:
    Petr Janouch
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorCount​(java.lang.String throwableClassName, java.lang.Long count)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getCount()
      The number of times the error has occurred.
      java.lang.String getThrowableClassName()
      Class name of the throwable that was raised.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorCount

        @ConstructorProperties({"throwableClassName","count"})
        public ErrorCount​(java.lang.String throwableClassName,
                          java.lang.Long count)
    • Method Detail

      • getThrowableClassName

        public java.lang.String getThrowableClassName()
        Class name of the throwable that was raised.
        Returns:
        class name of the throwable that was raised.
      • getCount

        public java.lang.Long getCount()
        The number of times the error has occurred.
        Returns:
        the number of times the error has occurred.