]> source.dussan.org Git - jgit.git/commit
Allow setting detail message and cause when constructing most exceptions 80/49280/1
authorJonathan Nieder <jrn@google.com>
Tue, 2 Jun 2015 23:52:21 +0000 (16:52 -0700)
committerJonathan Nieder <jrn@google.com>
Tue, 2 Jun 2015 23:54:09 +0000 (16:54 -0700)
commit8c3fe215b447dcdc39cfdbf587b73592e726f2d5
tree54b24a6b3d8033b39639d1573c94d38dbfccc512
parentcc4f4f2fe14cb56611d42af34b0baa51bd6632aa
Allow setting detail message and cause when constructing most exceptions

In particular, this means a RepositoryResolver, UploadPackFactory, or
ReceivePackFactory can set a detail message for
ServiceNotAuthorizedException or ServiceNotEnabledException with
information for the client about why access is not allowed.

Change-Id: I38e1798e1e9d09b5e75cefacd9d85f25729235a9
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/RefNotFoundException.java
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/StashApplyFailureException.java
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/UnmergedPathsException.java
org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java
org.eclipse.jgit/src/org/eclipse/jgit/errors/LockFailedException.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotEnabledException.java