Heartstopper Commit

Enabled every catch block in the project to log parsed exceptions.
This commit is contained in:
ronancpl
2017-04-02 21:38:07 -03:00
parent 3990a08202
commit 5f01d3b7fd
88 changed files with 13325 additions and 40964 deletions

View File

@@ -1,4 +1,4 @@
#Sun, 09 Aug 2015 19:24:52 -0300
#Sun, 02 Apr 2017 20:43:09 -0300
C\:\\Nexon\\MapleSolaxia\\MobBookUpdate=

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,8 +2,6 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/RonanLana/Documents/NetBeansProjects/MobBookUpdate/src/mobbookupdate/MobBookUpdate.java</file>
</group>
<group/>
</open-files>
</project-private>

View File

@@ -42,7 +42,7 @@ public class MobBookUpdate {
static Connection con = null;
static PrintWriter printWriter = null;
static FileReader fileReader = null;
static InputStreamReader fileReader = null;
static BufferedReader bufferedReader = null;
static byte status = 0;
static int mobId = -1;
@@ -158,7 +158,7 @@ public class MobBookUpdate {
con = DriverManager.getConnection(host, username, password);
printWriter = new PrintWriter(newFile, "UTF-8");
fileReader = new FileReader(fileName);
fileReader = new InputStreamReader(new FileInputStream(fileName), "UTF-8");
bufferedReader = new BufferedReader(fileReader);
while((line = bufferedReader.readLine()) != null) {