Throw exceptions, when argument have invalid values