Class ExceptionTranslatorImpl
- java.lang.Object
-
- com.atlassian.bamboo.ww2.actions.error.ExceptionTranslatorImpl
-
- All Implemented Interfaces:
ExceptionTranslator
public class ExceptionTranslatorImpl extends Object implements ExceptionTranslator
-
-
Constructor Summary
Constructors Constructor Description ExceptionTranslatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminErrorHandlergetAdminErrorHandler()voidsetAdminErrorHandler(AdminErrorHandler adminErrorHandler)voidtranslateException(Throwable throwable)Takes in an Exception and based on the type and error message logs appropriate information to admin errors.
-
-
-
Method Detail
-
translateException
public void translateException(Throwable throwable)
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
public AdminErrorHandler getAdminErrorHandler()
-
setAdminErrorHandler
public void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
-
-