diff --git a/org.springframework.transaction/src/main/java/org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.java b/org.springframework.transaction/src/main/java/org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.java index 6f25b69a79..c4ee41ee53 100644 --- a/org.springframework.transaction/src/main/java/org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.java +++ b/org.springframework.transaction/src/main/java/org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.java @@ -86,7 +86,7 @@ public class PersistenceExceptionTranslationPostProcessor extends ProxyConfig * @param repositoryAnnotationType the desired annotation type */ public void setRepositoryAnnotationType(Class repositoryAnnotationType) { - Assert.notNull(repositoryAnnotationType, "'requiredAnnotationType' must not be null"); + Assert.notNull(repositoryAnnotationType, "'repositoryAnnotationType' must not be null"); this.repositoryAnnotationType = repositoryAnnotationType; }