public class PassThroughExceptionTranslationStrategy extends Object implements ExceptionTranslationStrategy
PassThroughExceptionTranslationStrategy returns null for unknown Exceptions.| Constructor and Description |
|---|
PassThroughExceptionTranslationStrategy(org.springframework.core.convert.converter.Converter<Exception,org.springframework.dao.DataAccessException> converter) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.dao.DataAccessException |
translate(Exception e)
Potentially translate the given
Exception into DataAccessException. |
public PassThroughExceptionTranslationStrategy(org.springframework.core.convert.converter.Converter<Exception,org.springframework.dao.DataAccessException> converter)
public org.springframework.dao.DataAccessException translate(Exception e)
ExceptionTranslationStrategyException into DataAccessException.translate in interface ExceptionTranslationStrategyCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.