org.catools.common.io.CFileOperationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
The common objects which use in all other CATools projects
package org.catools.common.io;
import org.catools.common.exception.CRuntimeException;
/**
* Signals that an attempt to perform operation against the file denoted by a specified pathname has failed.
*/
public class CFileOperationException extends CRuntimeException {
public CFileOperationException(String filename, String message) {
super(String.format("File %s not found. message: %s", filename, message));
}
public CFileOperationException(CFile file, String message) {
this(file.getPath(), message);
}
public CFileOperationException(CFile file, String message, Throwable cause) {
super(String.format("File %s not found. message: %s", file.getPath(), message), cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy