Everpure Interview Question

A coding puzzle related synchronized and exception handling.