edu.nrao.sss.webapp
Class ServerErrorStatus
java.lang.Object
edu.nrao.sss.webapp.ServerErrorStatus
public class ServerErrorStatus
- extends Object
Keeps track of whether or not a server error has been reported and holds a
list of error messages to be displayed to the user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_ERROR_STATUS_EL
public static final String SERVER_ERROR_STATUS_EL
- See Also:
- Constant Field Values
ServerErrorStatus
public ServerErrorStatus()
getServerErrorsExist
public boolean getServerErrorsExist()
- Returns:
- true if error messages have been added
clearErrors
public void clearErrors(ActionEvent e)
- clears the error list
getErrorMessages
public List<String> getErrorMessages()
- Returns:
- a list of errors messages that have been added.
addErrorMessage
public void addErrorMessage(String msg)
- Adds an error message and sets the server errors exist flag.
Copyright © 2009. All Rights Reserved.