Class ExceptionTranslatorImpl
java.lang.Object
com.atlassian.bamboo.ww2.actions.error.ExceptionTranslatorImpl
- All Implemented Interfaces:
ExceptionTranslator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAdminErrorHandler(AdminErrorHandler adminErrorHandler) voidtranslateException(Throwable throwable) Takes in an Exception and based on the type and error message logs appropriate information to admin errors.
-
Constructor Details
-
ExceptionTranslatorImpl
public ExceptionTranslatorImpl()
-
-
Method Details
-
translateException
Description copied from interface:ExceptionTranslatorTakes in an Exception and based on the type and error message logs appropriate information to admin errors.- Specified by:
translateExceptionin interfaceExceptionTranslator- Parameters:
throwable- exception to be parsed for information
-
getAdminErrorHandler
-
setAdminErrorHandler
-