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

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

public class IOExceptionHandler
extends java.lang.Object
implements ExceptionHandler


Constructor Summary
IOExceptionHandler()
           
 
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)
          This handler will currenlt parse the following errors * Too many Files Open (a FileNotFoundException)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOExceptionHandler

public IOExceptionHandler()
Method Detail

getHandledExceptions

public java.lang.Class<? extends java.lang.Throwable>[] 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 interface ExceptionHandler
Returns:
an array of exception classes handled by this handler. Can be null or empty

parseError

public java.lang.String parseError(java.lang.Throwable throwable)
This handler will currenlt parse the following errors * Too many Files Open (a FileNotFoundException)

Specified by:
parseError in interface ExceptionHandler
Parameters:
throwable - - Exception to be parsed
Returns:
A more details and helpful message related to the error thrown.


Copyright © 2011 Atlassian. All Rights Reserved.