@ThreadSafe public class AdminErrorHandlerImpl extends Object implements AdminErrorHandler
| Constructor and Description |
|---|
AdminErrorHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all errors from the handler
|
String |
getError(String errorKey)
Obtain the specifed error from the handler.
|
Map<String,String> |
getErrors()
Obtain all the errors recorded
|
void |
recordError(String errorKey,
String message)
Record a error
|
void |
removeError(String errorKey)
Remove a specific error from the handler.
|
public void recordError(String errorKey, String message)
AdminErrorHandlerrecordError in interface AdminErrorHandlerpublic Map<String,String> getErrors()
AdminErrorHandlergetErrors in interface AdminErrorHandlerpublic void clear()
AdminErrorHandlerclear in interface AdminErrorHandlerpublic void removeError(String errorKey)
AdminErrorHandlerremoveError in interface AdminErrorHandlerpublic String getError(String errorKey)
AdminErrorHandlergetError in interface AdminErrorHandlerCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.