Class PatcherErrorHandlerBase
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.PatcherErrorHandlerBase
-
- All Implemented Interfaces:
PatcherErrorHandler
- Direct Known Subclasses:
StrictPatcherErrorHandler
public abstract class PatcherErrorHandlerBase extends Object implements PatcherErrorHandler
- Author:
- Eugene Petrenko Created: 22.05.2009 19:41:18
-
-
Constructor Summary
Constructors Constructor Description PatcherErrorHandlerBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddDirectoryFailed(File file)voidchangeBinaryFailed(File file, IOException e)voidchangeTextFailed(File file, IOException e)voidchmodFailed(File file)voiddeleteFailed(File file)protected abstract voiderror(String message, IOException cause)voidfailedToAccessFile(File file)voidfailedToCreateOrFindParentDirectory(File file)voidrenameFileFailed(File fromFile, File toFile)voidrenameFileFailedNoSourceFile(File file)voidsetLastModifiedFailed(File file, long timeStamp)voidsetReadonlyAttributeFailed(File file)
-
-
-
Method Detail
-
addDirectoryFailed
public void addDirectoryFailed(@NotNull File file) throws PatchException- Specified by:
addDirectoryFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
deleteFailed
public void deleteFailed(@NotNull File file) throws PatchException- Specified by:
deleteFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
renameFileFailed
public void renameFileFailed(@NotNull File fromFile, @NotNull File toFile) throws PatchException- Specified by:
renameFileFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
renameFileFailedNoSourceFile
public void renameFileFailedNoSourceFile(@NotNull File file) throws PatchException- Specified by:
renameFileFailedNoSourceFilein interfacePatcherErrorHandler- Throws:
PatchException
-
chmodFailed
public void chmodFailed(@NotNull File file) throws PatchException- Specified by:
chmodFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
setLastModifiedFailed
public void setLastModifiedFailed(@NotNull File file, long timeStamp) throws PatchException- Specified by:
setLastModifiedFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
setReadonlyAttributeFailed
public void setReadonlyAttributeFailed(@NotNull File file) throws PatchException- Specified by:
setReadonlyAttributeFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
changeBinaryFailed
public void changeBinaryFailed(@NotNull File file, @NotNull IOException e) throws PatchException- Specified by:
changeBinaryFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
changeTextFailed
public void changeTextFailed(@NotNull File file, @NotNull IOException e) throws PatchException- Specified by:
changeTextFailedin interfacePatcherErrorHandler- Throws:
PatchException
-
failedToAccessFile
public void failedToAccessFile(@NotNull File file) throws PatchException- Specified by:
failedToAccessFilein interfacePatcherErrorHandler- Throws:
PatchException
-
failedToCreateOrFindParentDirectory
public void failedToCreateOrFindParentDirectory(@NotNull File file) throws PatchException- Specified by:
failedToCreateOrFindParentDirectoryin interfacePatcherErrorHandler- Throws:
PatchException
-
error
protected abstract void error(@NotNull String message, @Nullable IOException cause) throws PatchException- Throws:
PatchException
-
-