Package com.adaptris.core.services.exception
Services which handle exceptions.
The primary use-case is for handling exceptions where synchronous replies are required, e.g. when responding to web service requests.
-
Interface Summary Interface Description ExceptionGenerator Interface for generating an exception from anAdaptrisMessage
object.ExceptionReportGenerator Interface for generating an XML report from an exception for use withExceptionReportService
ExceptionSerializer Use withExceptionReportService
to write the exception as part of the message. -
Class Summary Class Description ClearExceptionService Clears any exception stored againstCoreConstants.OBJ_METADATA_EXCEPTION
.ConfiguredException ExceptionGenerator
implementation that generates the exception from static configuration.ExceptionAsString Serializes the exception as a String.ExceptionAsXml Use withExceptionReportService
to write the exception as part of an xml document.ExceptionFromMetadata ExceptionGenerator
implementation that generates the exception from metadata.ExceptionFromMetadataImpl ExceptionGenerator
implementation that generates the exception from metadata.ExceptionHandlingServiceWrapper Wraps services so that errors are intercepted and processed by a different service.ExceptionReport Object that wraps all the information for an exception report.ExceptionReportService Service that takes an exception in object metadata and serializes that into the AdaptrisMessage payload.LastKnownException ExceptionGenerator
implementation that generates the exception from the last known exception.PossibleExceptionFromMetadata ExceptionGenerator
implementation that generates the exception from metadata.SimpleExceptionReport ExceptionReportGenerator
implementation that inserts the entire stack trace of the exception as the configured element.ThrowExceptionService Throws an exception based on a configurable set of criteria.XmlExceptionReport ExceptionReportGenerator
implementation that renders the exception as XML.XmlReportWithStacktrace ExceptionReportGenerator
implementation that renders the exception as XML including the stacktrace