Interface ExceptionMapper<E>
-
- Type Parameters:
E- type of the mapped exception
public interface ExceptionMapper<E>A generic mapper used for changing any exception into an instance ofConnectorException.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorExceptionmap(E exception)Maps the provided exception into an instance ofConnectorException.
-
-
-
Method Detail
-
map
ConnectorException map(E exception)
Maps the provided exception into an instance ofConnectorException.- Parameters:
exception- exception to map- Returns:
- mapped exception
-
-