Added ViewException and exception handling to Dispatcher

Signed-off-by: dradancer <kuba.zarybnicky@post.cz>