com.atlassian.bamboo.ww2.actions.error
Interface ExceptionHandler

All Known Implementing Classes:
IOExceptionHandler

public interface ExceptionHandler


Method Summary
 Class<? extends Throwable>[] getHandledExceptions()
          Will be used to determine whether or not an exception is handled by this handler
 String parseError(Throwable throwable)
          Parse an exception for more information Will not delve into the exception so ensure that root exception is passed in
 

Method Detail

getHandledExceptions

Class<? extends Throwable>[] getHandledExceptions()
Will be used to determine whether or not an exception is handled by this handler

Returns:
an array of exception classes handled by this handler. Can be null or empty

parseError

String parseError(Throwable throwable)
Parse an exception for more information Will not delve into the exception so ensure that root exception is passed in

Parameters:
throwable - exception to be parsed for further information, can be null
Returns:
String error message to be displayed on screen, can be null if no error message to be displayed


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.