Polishing

This commit is contained in:
Juergen Hoeller
2014-07-02 17:32:43 +02:00
parent 07edf11e21
commit ede2150544
15 changed files with 76 additions and 90 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.
@@ -68,7 +68,7 @@ public class TransactionAwareCacheManagerProxy implements CacheManager, Initiali
@Override
public void afterPropertiesSet() {
if (this.targetCacheManager == null) {
throw new IllegalStateException("'targetCacheManager' is required");
throw new IllegalArgumentException("Property 'targetCacheManager' is required");
}
}