Skip to content

Commit

Permalink
handle security exception
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Jul 2, 2010
1 parent 91fae06 commit c85b447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/com/mongodb/DBPortPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ DBPortPool get( InetSocketAddress addr ){
catch ( JMException e ){
Bytes.LOGGER.log( Level.WARNING , "jmx registration error, continuing" , e );
}
catch ( java.security.AccessControlException e ){
Bytes.LOGGER.log( Level.WARNING , "jmx registration error, continuing" , e );
}

}

return p;
Expand Down

0 comments on commit c85b447

Please sign in to comment.