Update Router to throw exception on failure.

Signed-off-by: Se7enChat <se7enchat@zoho.com>