All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squareup.tape.FileException Maven / Gradle / Ivy

The newest version!
// Copyright 2012 Square, Inc.
package com.squareup.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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy