Return ServiceSpecificException from Netd mdns service

UnsupportedOperationException is not caught in MDnsManager.java. It
will throw the exception and cause a fatal exception on system_server.
The exception will be caught by MDnsManager in 2024-02 module release.
But the latest droidfood image uses a legacy mainline prebuilt with
the latest platform code. Returning an exception that the MDnsManager
can catch is required.

Bug: 312092770
Bug: 312932263
Bug: 298594687
Test: atest CtsNetTestCasesMaxTargetSdk30, no fatal exception
Change-Id: Ib61c0fe35e14378e002d4568590175617a06838f
1 file changed
tree: f969f357e2e1c5bccb7e1ad7f83b4ba02a3d83fa
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING