Raise appropriate response based on exception raised by Participant

Signed-off-by: Joonas Bergius <joonas.bergius@gmail.com>