edu.rice.cs.cunit.instrumentors
Class RetryIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by edu.rice.cs.cunit.instrumentors.RetryIOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CouldNotDeleteAndRenameException, CouldNotDoubleRenameException, CouldNotRenameException

public abstract class RetryIOException
extends java.io.IOException

An IOException that we can retry.

Author:
Mathias Ricken
See Also:
Serialized Form

Constructor Summary
RetryIOException(java.lang.String s)
          Creates a new retryable IOException
 
Method Summary
abstract  void retry()
          Retry the failed operation one more time.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetryIOException

public RetryIOException(java.lang.String s)
Creates a new retryable IOException

Parameters:
s - message
Method Detail

retry

public abstract void retry()
                    throws java.io.IOException
Retry the failed operation one more time.

Throws:
java.io.IOException