eclipse plugin: Use a specialized exception in catch block
Issue found by "FindBugs"
This commit is contained in:
parent
040140cd10
commit
5faf8b3c61
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ package org.wesnoth.templates;
|
|||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
@ -83,7 +84,7 @@ public class TemplateProvider
|
|||
}
|
||||
}
|
||||
reader.close();
|
||||
} catch (Exception e)
|
||||
} catch (IOException e)
|
||||
{
|
||||
Logger.getInstance().logException(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue