com.atlassian.bamboo.ww2.actions.error
Class ExceptionTranslatorImpl

java.lang.Object
  extended by com.atlassian.bamboo.ww2.actions.error.ExceptionTranslatorImpl
All Implemented Interfaces:
ExceptionTranslator

public class ExceptionTranslatorImpl
extends java.lang.Object
implements ExceptionTranslator


Constructor Summary
ExceptionTranslatorImpl()
           
 
Method Summary
 AdminErrorHandler getAdminErrorHandler()
           
 void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
           
 void translateException(java.lang.Throwable throwable)
          Takes in an Exception and based on the type and error message logs appropriate information to admin errors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionTranslatorImpl

public ExceptionTranslatorImpl()
Method Detail

translateException

public void translateException(java.lang.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 interface ExceptionTranslator
Parameters:
throwable - exception to be parsed for information

getAdminErrorHandler

public AdminErrorHandler getAdminErrorHandler()

setAdminErrorHandler

public void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)


Copyright © 2012 Atlassian. All Rights Reserved.