1 19 20 package org.openide.filesystems; 21 22 import java.io.IOException ; 23 24 30 @Deprecated 31 public class EnvironmentNotSupportedException extends IOException { 32 33 static final long serialVersionUID = -1138390681913514558L; 34 35 36 private FileSystem fs; 37 38 41 public EnvironmentNotSupportedException(FileSystem fs) { 42 this.fs = fs; 43 assert FileUtil.assertDeprecatedMethod(); 44 } 45 46 50 public EnvironmentNotSupportedException(FileSystem fs, String reason) { 51 super(reason); 52 this.fs = fs; 53 assert FileUtil.assertDeprecatedMethod(); 54 } 55 56 58 public FileSystem getFileSystem() { 59 return fs; 60 } 61 } 62 | Popular Tags |