I would use Targetprocess::ConfigurationError for second case, what do you think?