[
https://jira.jboss.org/browse/SHRINKWRAP-204?page=com.atlassian.jira.plug...
]
Andrew Lee Rubinger commented on SHRINKWRAP-204:
------------------------------------------------
Since when should someone "always expect" a RuntimeException? This represents
some error not usually recoverable by the application, or at least expected to be handled
by it.
The API uses IOExceptions, sure, because we're opening streams and that's
necessary. But the underlying cause is *not* an IO problem. It's a problem with the
user requesting something that's not there. Which is a user error, not an
IOException.
ArchiveFileSystem.openInputStream returns null on missing Asset,
should throw IOException
-----------------------------------------------------------------------------------------
Key: SHRINKWRAP-204
URL:
https://jira.jboss.org/browse/SHRINKWRAP-204
Project: ShrinkWrap
Issue Type: Bug
Components: ext-vfs3
Affects Versions: 1.0.0-alpha-10
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 1.0.0-alpha-11
Opening a InputStream to a non existing Asset should result in IOException
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira