{"push_id":817663499,"size":1,"distinct_size":1,"ref":"refs/heads/ignore","head":"40b054c98d3baa423769727781ab876ec4afd64b","before":"de543d4835fa9bd6d85bdc91d97267063b79cefa","commits":[{"sha":"40b054c98d3baa423769727781ab876ec4afd64b","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@stefan-birkner.de","name":"Stefan Birkner"},"message":"Add support for ignoring exceptions.\n\nSometimes it is appropriate to continue if a void method fails. This can\nbe easily done with `ignoreException`.\n\n    public void doSomething() {\n      MyWorker worker = createWorker();\n      ignoreException(() -> worker.doSomethingThatThrowsAnException());\n      //the following statement is executed even if the worker threw an\n      //exception.\n      doSomethingElse();\n    }\n\nIt is possible to ignore only exceptions of a specific type.\n\n    public void doSomething() {\n      MyWorker worker = createWorker();\n      ignoreException(\n        () -> worker.doSomethingThatThrowsAnException(),\n        IllegalArgumentException.class);\n      //the following statement is executed even if the worker threw an\n      //IllegalArgumentException.\n      doSomethingElse();\n    }","distinct":true,"url":"https://api.github.com/repos/stefanbirkner/fishbowl/commits/40b054c98d3baa423769727781ab876ec4afd64b"}]}