package org.smoothbuild.io.fs.base;
import java.io.IOException;
/**
* Indicates problem accessing a file. It is caused either by a bug in
* smooth-build tool (or one of its plugins), IO problem of accessed file
* system, unexpected change on accessed file system caused by some other
* process.
*
* Plugin code should not catch this exception but let it propagate higher to
* the caller (smooth build framework) which will correctly report it to user.
*/
public class FileSystemException extends RuntimeException {
public FileSystemException(IOException e) {
super("I/O operation failed", e);
}
public FileSystemException(String message) {
super(message);
}
}