[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-issues
Subject: [Issue 4570] New - Add sane error information to JavaHL
From: rhuijben () tigris ! org
Date: 2015-03-06 14:21:34
Message-ID: iz4570 () subversion ! tigris ! org
[Download RAW message or body]
http://subversion.tigris.org/issues/show_bug.cgi?id=4570
Issue #|4570
Summary|Add sane error information to JavaHL
Component|subversion
Version|1.9.x
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|bindings_javahl
Assigned to|issues@subversion
Reported by|rhuijben
------- Additional comments from rhuijben@tigris.org Fri Mar 6 06:21:33 -0800 2015 -------
Currently JavaHL apis only have the (potentially localized) error output to see
why some operation failed.
This error output includes generic messages for error codes, where the creator
of the error intended specific messages... so the resulting message is not what
a user would expect *and* not an easy way for applications to access the
problem causes.
Eventually we should try to:
* Provide an easy way to access to causes of problems.
Probably a combination of creating multiple exception types, extending the
ClientException. Perhaps providing access to error codes/error classes?
* Marshal the JavaHL exceptions through Subversion, using similar magic as that
in SharpSVN. (Errors have their own pool and we can attach information to
that... and pool cleanup handles the case where Subversion decides to ignore
the error). This allows handling Java errors as Java errors.
* Make it easy to generate a valuable end-user message, similar to what is
shown in other clients.
Without the 'freely added' generic messages in unexpected places in the chain,
etc.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3103360
To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic