提交 feb91e83 编写于 作者: J Juergen Hoeller

NotReadablePropertyException accepts root cause (analogous to NotWritablePropertyException)

Issue: SPR-12467
上级 ab5856b6
/*
* 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);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册