Package com.atlassian.bamboo.logger
Class AdminErrorHandlerImpl
java.lang.Object
com.atlassian.bamboo.logger.AdminErrorHandlerImpl
- All Implemented Interfaces:
AdminErrorHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Remove all errors from the handlerObtain the specifed error from the handler.Obtain all the errors recordedvoid
recordError
(String errorKey, String message) Record a errorvoid
removeError
(String errorKey) Remove a specific error from the handler.
-
Constructor Details
-
AdminErrorHandlerImpl
public AdminErrorHandlerImpl()
-
-
Method Details
-
recordError
Description copied from interface:AdminErrorHandler
Record a error- Specified by:
recordError
in interfaceAdminErrorHandler
-
getErrors
Description copied from interface:AdminErrorHandler
Obtain all the errors recorded- Specified by:
getErrors
in interfaceAdminErrorHandler
-
clear
public void clear()Description copied from interface:AdminErrorHandler
Remove all errors from the handler- Specified by:
clear
in interfaceAdminErrorHandler
-
removeError
Description copied from interface:AdminErrorHandler
Remove a specific error from the handler.- Specified by:
removeError
in interfaceAdminErrorHandler
-
getError
Description copied from interface:AdminErrorHandler
Obtain the specifed error from the handler.- Specified by:
getError
in interfaceAdminErrorHandler
- Returns:
- The error details
-