1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 00:08:51 -05:00

* better error messages (for the n00bz)

This commit is contained in:
Reinhard Pointner 2013-11-08 12:29:37 +00:00
parent ac286d44ce
commit 43eb696e7b

View File

@ -707,8 +707,9 @@ public class MediaBindingBean {
private void checkMediaFile() throws RuntimeException {
// make sure file is not null, and that it is an existing file
if (mediaFile == null)
throw new RuntimeException("Invalid media file: " + mediaFile);
if (mediaFile == null) {
throw new RuntimeException("Path to media file has not been set");
}
}
private synchronized MediaInfo getMediaInfo() {