< prev index next >

src/java.base/share/classes/java/nio/file/FileSystemNotFoundException.java

Print this page




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.nio.file;
  27 
  28 /**
  29  * Runtime exception thrown when a file system cannot be found.
  30  *
  31  * @since 1.7
  32  */
  33 
  34 public class FileSystemNotFoundException
  35     extends RuntimeException
  36 {

  37     static final long serialVersionUID = 7999581764446402397L;
  38 
  39     /**
  40      * Constructs an instance of this class.
  41      */
  42     public FileSystemNotFoundException() {
  43     }
  44 
  45     /**
  46      * Constructs an instance of this class.
  47      *
  48      * @param   msg
  49      *          the detail message
  50      */
  51     public FileSystemNotFoundException(String msg) {
  52         super(msg);
  53     }
  54 }


  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.nio.file;
  27 
  28 /**
  29  * Runtime exception thrown when a file system cannot be found.
  30  *
  31  * @since 1.7
  32  */
  33 
  34 public class FileSystemNotFoundException
  35     extends RuntimeException
  36 {
  37     @java.io.Serial
  38     static final long serialVersionUID = 7999581764446402397L;
  39 
  40     /**
  41      * Constructs an instance of this class.
  42      */
  43     public FileSystemNotFoundException() {
  44     }
  45 
  46     /**
  47      * Constructs an instance of this class.
  48      *
  49      * @param   msg
  50      *          the detail message
  51      */
  52     public FileSystemNotFoundException(String msg) {
  53         super(msg);
  54     }
  55 }
< prev index next >