Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » [javadoc | source]
org.springframework.beans
public class: PropertyBatchUpdateException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.springframework.core.NestedRuntimeException
               org.springframework.beans.BeansException
                  org.springframework.beans.PropertyBatchUpdateException

All Implemented Interfaces:
    Serializable

Combined exception, composed of individual PropertyAccessException instances. An object of this class is created at the beginning of the binding process, and errors added to it as necessary.

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.

Constructor:
 public PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions) 
    Create a new PropertyBatchUpdateException.
    Parameters:
    propertyAccessExceptions - the List of PropertyAccessExceptions
Method from org.springframework.beans.PropertyBatchUpdateException Summary:
contains,   getExceptionCount,   getMessage,   getPropertyAccessException,   getPropertyAccessExceptions,   printStackTrace,   printStackTrace,   toString
Methods from org.springframework.beans.BeansException:
equals,   hashCode
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.PropertyBatchUpdateException Detail:
 public boolean contains(Class exType) 
 public final int getExceptionCount() 
    If this returns 0, no errors were encountered during binding.
 public String getMessage() 
 public PropertyAccessException getPropertyAccessException(String propertyName) 
    Return the exception for this field, or null if there isn't one.
 public final PropertyAccessException[] getPropertyAccessExceptions() 
    Return an array of the propertyAccessExceptions stored in this object. Will return the empty array (not null) if there were no errors.
 public  void printStackTrace(PrintStream ps) 
 public  void printStackTrace(PrintWriter pw) 
 public String toString()