[feature/migrations] getParameters function for migration exception

PHPBB3-11351