public class ErrorList extends Exception
| Constructor and Description | 
|---|
| ErrorList()Constructs a ErrorList instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addError(String error)This method adds errors to the error list. | 
| void | addErrors(ErrorList errors)This method adds a list of errors to the error list. | 
| List | getErrors()This method retreives all of the errors in the list. | 
| String | getMessage()This method returns a string representation of all of the errors in the error list. | 
| boolean | isEmpty()This method checks to see if the list is empty or not. | 
| String | toString()This method is responsible for concatenating all of the errors in the error list together. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ErrorList()
public boolean isEmpty()
public void addError(String error)
error - public void addErrors(ErrorList errors)
errors - public String getMessage()
getMessage in class ThrowableThrowable.getMessage()public String toString()
toString in class ThrowableThrowable.toString()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.