Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POSIX

 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Exception in thread "main" java.lang.UnsupportedOperationException
at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:191)
at java.nio.file.Files.readAttributes(Files.java:1675)
at POSIXFilePermissions.main(POSIXFilePermissions.java:12)
 
Tony Docherty
Bartender
Posts: 2969
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read the API docs for this method. It says this exception is thrown if the given attribute type is not supported.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic