Interface ExceptionSerializer
-
- All Known Implementing Classes:
ExceptionAsString
,ExceptionAsXml
public interface ExceptionSerializer
Use withExceptionReportService
to write the exception as part of the message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
serialize(java.lang.Exception e, AdaptrisMessage msg)
Serialize the exception into the adaptris message.
-
-
-
Method Detail
-
serialize
void serialize(java.lang.Exception e, AdaptrisMessage msg) throws CoreException
Serialize the exception into the adaptris message.- Parameters:
e
- the exceptionmsg
- the message- Throws:
CoreException
- wrapping other exceptions.
-
-