make TException serializable