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 AdminErrorHandler
getAdminErrorHandler()
void
setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
void
translateException(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:ExceptionTranslator
Takes in an Exception and based on the type and error message logs appropriate information to admin errors.- Specified by:
translateException
in interfaceExceptionTranslator
- Parameters:
throwable
- exception to be parsed for information
-
getAdminErrorHandler
public AdminErrorHandler getAdminErrorHandler()
-
setAdminErrorHandler
public void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
-
-