Exception Translator

The Exception Translator extension modifies the exception message.

Example

Given the system property concordion.extensions is set to spec.concordion.ext.translator.FrenchTranslatorExtensionFactory.

When running a fixture that throws an exception with the message Unable to connect to http://localhost:9080, when the following command is executed

<p concordion:execute="makeConnection()">Connectez moi</p>

, the output displays the exception message:

Impossible de se connecter à http://localhost:9080

, and the stack trace retains the original exception message:

RuntimeException: Unable to connect to http://localhost:9080