Class ExceptionAsString

  • All Implemented Interfaces:
    ExceptionSerializer

    public class ExceptionAsString
    extends java.lang.Object
    implements ExceptionSerializer
    Serializes the exception as a String.

    Note that this uses org.apache.commons.lang3.exception.ExceptionUtils#getFullStackTrace(Throwable) which means that the root cause is first

    Since:
    3.7.3

    In the adapter configuration file this class is aliased as exception-as-string which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ExceptionAsString

        public ExceptionAsString()