Error+Exceptions rewrite. -validate.

Signed-off-by: Horváth Balázs <qqroach@riftworks.org>