@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)
AdminErrorHandler
recordError
in interface AdminErrorHandler
public Map<String,String> getErrors()
AdminErrorHandler
getErrors
in interface AdminErrorHandler
public void clear()
AdminErrorHandler
clear
in interface AdminErrorHandler
public void removeError(String errorKey)
AdminErrorHandler
removeError
in interface AdminErrorHandler
public String getError(String errorKey)
AdminErrorHandler
getError
in interface AdminErrorHandler
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.