Polishing

This commit is contained in:
Juergen Hoeller
2015-12-22 16:19:26 +01:00
parent 95d62658ff
commit bb0bc3d415
2 changed files with 11 additions and 8 deletions

View File

@@ -152,8 +152,11 @@ public interface Cache {
Object get();
}
/**
* TODO
* Wrapper exception to be thrown from {@link #get(Object, Callable)}
* in case of the value loader callback failing with an exception.
* @since 4.3
*/
@SuppressWarnings("serial")
class ValueRetrievalException extends RuntimeException {
@@ -167,7 +170,7 @@ public interface Cache {
}
public Object getKey() {
return key;
return this.key;
}
}