Class ExceptionAsString

java.lang.Object
com.adaptris.core.services.exception.ExceptionAsString
All Implemented Interfaces:
ExceptionSerializer

public class ExceptionAsString extends 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.