Allow passing throw exceptions to executor