Interface ExceptionGenerator
-
- All Known Implementing Classes:
ConfiguredException
,ExceptionFromMetadata
,ExceptionFromMetadataImpl
,LastKnownException
,PossibleExceptionFromMetadata
public interface ExceptionGenerator
Interface for generating an exception from anAdaptrisMessage
object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceException
create(AdaptrisMessage msg)
Generate a service exception from the AdaptrisMessage.
-
-
-
Method Detail
-
create
ServiceException create(AdaptrisMessage msg)
Generate a service exception from the AdaptrisMessage.- Parameters:
msg
- the message- Returns:
- a ServiceException ready to be thrown, or null if no exception is appropriate
-
-