Hide IkeProtocolException subclasses without useful error data

As requestsed by API council, hide IkeProtocolException
subclasses if it does not have extra error data
(e.g. AuthenticationFailedException), or the error data is not
useful to callers (e.g. InvalidIkeSpiException). For these
errors, callers can know their error types from
IkeProtocolException.

Affected APIs in this patch are all unreleased APIs.

Bug: 175091931
Test: FrameworksIkeTests, CtsIkeTestCases
Change-Id: Icd4e58ddd177def9cccf7308e0541a8863b9b1d3
15 files changed
tree: 3fcbc990ed5c071c139c6043550c6529025ef2cb
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. TEST_MAPPING
README.md

IKEv2 Library for Android

Introduction

This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.