GH-321: [Java] add new error expiration as part of endpoints information (#322)

Closes #321
2 files changed