This not follows your own method signature. Expected string passed Exception instance