You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
p62xrbca7/java/nio/file/NoSuchFileException.java

64 lines
1.2 KiB

/*
* Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.nio.file;
/**
* Checked exception thrown when an attempt is made to access a file that does
* not exist.
*
* @since 1.7
*/
public class NoSuchFileException
extends FileSystemException
{
static final long serialVersionUID = -1390291775875351931L;
/**
* Constructs an instance of this class.
*
* @param file
* a string identifying the file or {@code null} if not known.
*/
public NoSuchFileException(String file) {
super(file);
}
/**
* Constructs an instance of this class.
*
* @param file
* a string identifying the file or {@code null} if not known.
* @param other
* a string identifying the other file or {@code null} if not known.
* @param reason
* a reason message with additional information or {@code null}
*/
public NoSuchFileException(String file, String other, String reason) {
super(file, other, reason);
}
}