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

All Known Implementing Classes:
IOExceptionHandler

public interface ExceptionHandler


Method Summary
 java.lang.Class<? extends java.lang.Throwable>[] getHandledExceptions()
          Will be used to determine whether or not an exception is handled by this handler
 java.lang.String parseError(java.lang.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

java.lang.Class<? extends java.lang.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

java.lang.String parseError(java.lang.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 © 2011 Atlassian. All Rights Reserved.