Added possibility to pass string when reraising exception