Mark the exception as serializable