Added Stream logger classes

This commit is contained in:
Ziver Koc 2015-10-15 19:26:17 +00:00
parent 4a817cbf31
commit a04041c07c
5 changed files with 250 additions and 37 deletions

View file

@ -113,7 +113,13 @@ public class JSONObjectInputStream extends InputStream implements ObjectInput, C
if(root != null){
return (T)readObject(c, null, root);
}
} catch (Exception e) {
} catch (ClassNotFoundException e) {
logger.log(Level.WARNING, null, e);
} catch (NoSuchFieldException e) {
logger.log(Level.WARNING, null, e);
} catch (InstantiationException e) {
logger.log(Level.WARNING, null, e);
} catch (IllegalAccessException e) {
logger.log(Level.WARNING, null, e);
} finally {
objectCache.clear();