Package com.atlassian.bamboo.logger
Class AdminErrorHandlerImpl
java.lang.Object
com.atlassian.bamboo.logger.AdminErrorHandlerImpl
- All Implemented Interfaces:
AdminErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Remove all errors from the handlerObtain the specifed error from the handler.Obtain all the errors recordedvoidrecordError(String errorKey, String message) Record a errorvoidremoveError(String errorKey) Remove a specific error from the handler.
-
Constructor Details
-
AdminErrorHandlerImpl
public AdminErrorHandlerImpl()
-
-
Method Details
-
recordError
Description copied from interface:AdminErrorHandlerRecord a error- Specified by:
recordErrorin interfaceAdminErrorHandler- Parameters:
errorKey-message-
-
getErrors
Description copied from interface:AdminErrorHandlerObtain all the errors recorded- Specified by:
getErrorsin interfaceAdminErrorHandler
-
clear
public void clear()Description copied from interface:AdminErrorHandlerRemove all errors from the handler- Specified by:
clearin interfaceAdminErrorHandler
-
removeError
Description copied from interface:AdminErrorHandlerRemove a specific error from the handler.- Specified by:
removeErrorin interfaceAdminErrorHandler- Parameters:
errorKey-
-
getError
Description copied from interface:AdminErrorHandlerObtain the specifed error from the handler.- Specified by:
getErrorin interfaceAdminErrorHandler- Parameters:
errorKey-- Returns:
- The error details
-