The 'serialize' transformer can only be used where it is possible to use the default JSON serialization. However, as you have found out, it is not possible to serialize exceptions.
Therefore, the only other transformer implementation currently available is the 'mvel' one (see Chapter 4. Reporting Activity Information). So you can use this to define how to extract the information you require from the exception.