public class PropertyBatchUpdateException extends BeansException
The binding process continues when it encounters application-level PropertyAccessExceptions, applying those changes that can be applied and storing rejected changes in an object of this class.
| 构造器和说明 |
|---|
PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions)
Create a new PropertyBatchUpdateException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
contains(Class<?> exType) |
int |
getExceptionCount()
If this returns 0, no errors were encountered during binding.
|
String |
getMessage() |
PropertyAccessException |
getPropertyAccessException(String propertyName)
Return the exception for this field, or
null if there isn't any. |
PropertyAccessException[] |
getPropertyAccessExceptions()
Return an array of the propertyAccessExceptions stored in this object.
|
void |
printStackTrace(PrintStream ps) |
void |
printStackTrace(PrintWriter pw) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTracepublic PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions)
propertyAccessExceptions - the List of PropertyAccessExceptionspublic final int getExceptionCount()
public final PropertyAccessException[] getPropertyAccessExceptions()
Will return the empty array (not null) if there were no errors.
@Nullable public PropertyAccessException getPropertyAccessException(String propertyName)
null if there isn't any.public String getMessage()
getMessage 在类中 org.springframework.core.NestedRuntimeExceptionpublic void printStackTrace(PrintStream ps)
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace 在类中 Throwablepublic boolean contains(@Nullable
Class<?> exType)
contains 在类中 org.springframework.core.NestedRuntimeException