Exact solutions in generalized Oldroyd-B fluid