Polishing

(cherry picked from commit ede2150)
This commit is contained in:
Juergen Hoeller
2014-07-02 17:32:43 +02:00
parent 010d8b8c89
commit fe72fcede5
13 changed files with 68 additions and 84 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -67,7 +67,7 @@ public class TransactionAwareCacheManagerProxy implements CacheManager, Initiali
public void afterPropertiesSet() {
if (this.targetCacheManager == null) {
throw new IllegalStateException("'targetCacheManager' is required");
throw new IllegalArgumentException("Property 'targetCacheManager' is required");
}
}