Bug 544181 - Unhelpful "protocol doesn't support output"
Summary: Unhelpful "protocol doesn't support output"
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.11   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-06 08:08 EST by Ed Willink CLA
Modified: 2019-02-06 08:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2019-02-06 08:08:46 EST
Bad stream creates can hit URLConnection.getOutputStream()

      throw new UnknownServiceException("protocol doesn't support output");

By the time this gets back to a user/developer the abstract error message is hard to diagnose. What was the bad protocol?

It would be helpful if e.g. PlatformURLPluginConnection had an override such as

     throw new UnknownServiceException("platform:/plugin protocol doesn't support output");