|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
edu.rice.cs.cunit.instrumentors.RetryIOException
edu.rice.cs.cunit.instrumentors.CouldNotDoubleRenameException
public class CouldNotDoubleRenameException
Exception inside the file instrumentor, preventing it to delete and rename two files.
Field Summary | |
---|---|
private java.io.File |
_curFile
File to rename to _oldFile. |
private java.io.File |
_newFile
File to rename to _oldFile. |
private java.io.File |
_oldFile
New fname of _curFile. |
Constructor Summary | |
---|---|
CouldNotDoubleRenameException(java.io.File curFile,
java.io.File oldFile,
java.io.File newFile)
Constructs a new exception. |
Method Summary | |
---|---|
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 |
Field Detail |
---|
private java.io.File _curFile
private java.io.File _oldFile
private java.io.File _newFile
Constructor Detail |
---|
public CouldNotDoubleRenameException(java.io.File curFile, java.io.File oldFile, java.io.File newFile)
curFile
- current file, to be renamed to oldFileoldFile
- old filenewFile
- new file, to be renamed to curFileMethod Detail |
---|
public void retry() throws java.io.IOException
retry
in class RetryIOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |