Because of the Java doc of this method, completed by the wiki, I think this method should be changed, by raising the limitation on the exception type
Keep MessageExchange#setError( Exception ), as stated by the JBI specification.
And implement Exchange#setError( Exception ) with: