Heartstopper Commit
Enabled every catch block in the project to log parsed exceptions.
This commit is contained in:
@@ -57,6 +57,7 @@ public class GenericSeekableLittleEndianAccessor extends GenericLittleEndianAcce
|
||||
try {
|
||||
bs.seek(offset);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("Seek failed " + e);
|
||||
}
|
||||
}
|
||||
@@ -72,6 +73,7 @@ public class GenericSeekableLittleEndianAccessor extends GenericLittleEndianAcce
|
||||
try {
|
||||
return bs.getPosition();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("getPosition failed" + e);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -85,6 +85,7 @@ public class InputStreamByteStream implements ByteInputStream {
|
||||
try {
|
||||
return is.available();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("ERROR" + e);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -76,6 +76,7 @@ public class RandomAccessByteStream implements SeekableInputStreamBytestream {
|
||||
try {
|
||||
return raf.length() - raf.getFilePointer();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("ERROR " + e);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user