io.logspace.jvm.agent.shaded.tape.FileException Maven / Gradle / Ivy
The newest version!
// Copyright 2012 Square, Inc.
package io.logspace.jvm.agent.shaded.tape;
import java.io.File;
import java.io.IOException;
/** Encapsulates an {@link IOException} in an extension of {@link RuntimeException}. */
public class FileException extends RuntimeException {
private final File file;
public FileException(String message, IOException e, File file) {
super(message, e);
this.file = file;
}
public File getFile() {
return file;
}
}