Class IOExceptionHandler
java.lang.Object
com.atlassian.bamboo.ww2.actions.error.IOExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWill be used to determine whether or not an exception is handled by this handlerparseError
(Throwable throwable) This handler will currently parse the following errors * Too many Files Open (a FileNotFoundException)
-
Constructor Details
-
IOExceptionHandler
public IOExceptionHandler()
-
-
Method Details
-
getHandledExceptions
Description copied from interface:ExceptionHandler
Will be used to determine whether or not an exception is handled by this handler- Specified by:
getHandledExceptions
in interfaceExceptionHandler
- Returns:
- an array of exception classes handled by this handler. Can be null or empty
-
parseError
This handler will currently parse the following errors * Too many Files Open (a FileNotFoundException)- Specified by:
parseError
in interfaceExceptionHandler
- Parameters:
throwable
- - Exception to be parsed- Returns:
- A more details and helpful message related to the error thrown.
-