NotReadablePropertyException accepts root cause (analogous to NotWritablePropertyException)

Issue: SPR-12467
This commit is contained in:
Juergen Hoeller
2014-11-26 11:52:55 +01:00
parent ab5856b6a8
commit feb91e8366

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.
@@ -47,4 +47,16 @@ public class NotReadablePropertyException extends InvalidPropertyException {
super(beanClass, propertyName, msg);
}
/**
* Create a new NotReadablePropertyException.
* @param beanClass the offending bean class
* @param propertyName the offending property
* @param msg the detail message
* @param cause the root cause
* @since 4.0.9
*/
public NotReadablePropertyException(Class<?> beanClass, String propertyName, String msg, Throwable cause) {
super(beanClass, propertyName, msg, cause);
}
}