From cb4f1251bf9aed6083ec065aa8f20e6e761c857b Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 24 Oct 2012 12:16:56 +0000 Subject: [PATCH] * gracefully ignore if creationTime not supported on the given OS --- source/net/sourceforge/filebot/media/MetaAttributes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/media/MetaAttributes.java b/source/net/sourceforge/filebot/media/MetaAttributes.java index c7aeb7af..3aaca1c3 100644 --- a/source/net/sourceforge/filebot/media/MetaAttributes.java +++ b/source/net/sourceforge/filebot/media/MetaAttributes.java @@ -33,7 +33,7 @@ public class MetaAttributes { try { fileAttributeView.setTimes(null, null, FileTime.fromMillis(millis)); } catch (IOException e) { - throw new IllegalStateException(e); + // creationTime not supported => ignore } }