Handling overflow Exception.