Class CommonsLogMessageConstant


  • public final class CommonsLogMessageConstant
    extends java.lang.Object
    Class that bundles all the error message templates as constants.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BASE_64_EXCEPTION
      Message notifies that base64 encoding or decoding failed.
      static java.lang.String INVALID_STATISTICS_NAME
      Message notifies that an invalid statistics name was received, because there is no aggregator for it.
      static java.lang.String LOCAL_FILE_COMPRESSION_FAILED
      Message notifies that files archiving operation failed.
      static java.lang.String RATIO_IS_HIGHLY_SUSPICIOUS
      Message notifies that archive is suspicious to be a zip bomb due to large ratio between the compressed and uncompressed archive entry.
      static java.lang.String TOO_MUCH_ENTRIES_IN_ARCHIVE
      Message notifies that archive is suspicious to be a zip bomb because the number of file entries extracted from the archive is greater than a predefined threshold.
      static java.lang.String UNABLE_TO_DESERIALIZE_JSON
      Message notifies that some exception has been thrown during json deserialization from object.
      static java.lang.String UNABLE_TO_SERIALIZE_OBJECT
      Message notifies that some exception has been thrown during json serialization to object.
      static java.lang.String UNCOMPRESSED_DATA_SIZE_IS_TOO_MUCH
      Message notifies that archive is suspicious to be a zip bomb due to large total size of the uncompressed data.
      static java.lang.String UNKNOWN_PLACEHOLDER_WAS_IGNORED
      Message notifies that unknown placeholder was ignored during parsing of the producer line format.
      static java.lang.String UNREPORTED_EVENT
      Message warns that some event is at confirmation stage but it is not known.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • BASE_64_EXCEPTION

        public static final java.lang.String BASE_64_EXCEPTION
        Message notifies that base64 encoding or decoding failed.
        See Also:
        Constant Field Values
      • INVALID_STATISTICS_NAME

        public static final java.lang.String INVALID_STATISTICS_NAME
        Message notifies that an invalid statistics name was received, because there is no aggregator for it.
        • 0th is a statistics name which is invalid;
        See Also:
        Constant Field Values
      • LOCAL_FILE_COMPRESSION_FAILED

        public static final java.lang.String LOCAL_FILE_COMPRESSION_FAILED
        Message notifies that files archiving operation failed.
        • 0th is a message of thrown exception;
        See Also:
        Constant Field Values
      • RATIO_IS_HIGHLY_SUSPICIOUS

        public static final java.lang.String RATIO_IS_HIGHLY_SUSPICIOUS
        Message notifies that archive is suspicious to be a zip bomb due to large ratio between the compressed and uncompressed archive entry.
        • 0th is a threshold ratio;
        See Also:
        Constant Field Values
      • TOO_MUCH_ENTRIES_IN_ARCHIVE

        public static final java.lang.String TOO_MUCH_ENTRIES_IN_ARCHIVE
        Message notifies that archive is suspicious to be a zip bomb because the number of file entries extracted from the archive is greater than a predefined threshold.
        • 0th is a threshold number of file entries in the archive;
        See Also:
        Constant Field Values
      • UNABLE_TO_DESERIALIZE_JSON

        public static final java.lang.String UNABLE_TO_DESERIALIZE_JSON
        Message notifies that some exception has been thrown during json deserialization from object. List of params:
        • 0th is a class name of thrown exception;
        • 1st is a message of thrown exception;
        See Also:
        Constant Field Values
      • UNABLE_TO_SERIALIZE_OBJECT

        public static final java.lang.String UNABLE_TO_SERIALIZE_OBJECT
        Message notifies that some exception has been thrown during json serialization to object. List of params:
        • 0th is a class name of thrown exception;
        • 1st is a message of thrown exception;
        See Also:
        Constant Field Values
      • UNCOMPRESSED_DATA_SIZE_IS_TOO_MUCH

        public static final java.lang.String UNCOMPRESSED_DATA_SIZE_IS_TOO_MUCH
        Message notifies that archive is suspicious to be a zip bomb due to large total size of the uncompressed data.
        • 0th is a threshold size;
        See Also:
        Constant Field Values
      • UNKNOWN_PLACEHOLDER_WAS_IGNORED

        public static final java.lang.String UNKNOWN_PLACEHOLDER_WAS_IGNORED
        Message notifies that unknown placeholder was ignored during parsing of the producer line format. List of params:
        • 0th is a name of ignored placeholder;
        See Also:
        Constant Field Values
      • UNREPORTED_EVENT

        public static final java.lang.String UNREPORTED_EVENT
        Message warns that some event is at confirmation stage but it is not known. Probably some processing has failed. List of params:
        • 0th is a name of product for which event was reported;
        • 1st is an event type;
        See Also:
        Constant Field Values
    • Constructor Detail

      • CommonsLogMessageConstant

        private CommonsLogMessageConstant()