Skip to content

Commit

Permalink
Just a tweak on exception handling (case there is a OME during depage…
Browse files Browse the repository at this point in the history
…, it would get logged)
  • Loading branch information
clebertsuconic committed Apr 17, 2009
1 parent f60a884 commit 54617a0
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -223,10 +223,6 @@ public SimpleString getStoreName()

public void addSize(final long size) throws Exception
{
final long maxSize = getMaxSizeBytes();

final long pageSize = getPageSizeBytes();

if (isDropWhenMaxSize())
{
addAddressSize(size);
Expand Down Expand Up @@ -1052,8 +1048,9 @@ public void run()
}
}
}
catch (Exception e)
catch (Throwable e)
{
e.printStackTrace();
log.error(e, e);
}
}
Expand Down

0 comments on commit 54617a0

Please sign in to comment.