exception handling in dice roller