intial commit new error-handling class
use new class for error-handling
throw an exception for all handled errors for the moment