Implemented Router::build(). Correct exception handling in View::__toString().