public class ExceptionTranslatorImpl extends Object implements ExceptionTranslator
Constructor and Description |
---|
ExceptionTranslatorImpl() |
Modifier and Type | Method and 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.
|
public void translateException(Throwable throwable)
ExceptionTranslator
translateException
in interface ExceptionTranslator
throwable
- exception to be parsed for informationpublic AdminErrorHandler getAdminErrorHandler()
public void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.