Merge "Upgrade Apache SSH dependency to 0.6.0" into stable-2.6
diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/errors/NoSuchEntityException.java b/gerrit-common/src/main/java/com/google/gerrit/common/errors/NoSuchEntityException.java index c47cf07..1829c8b 100644 --- a/gerrit-common/src/main/java/com/google/gerrit/common/errors/NoSuchEntityException.java +++ b/gerrit-common/src/main/java/com/google/gerrit/common/errors/NoSuchEntityException.java
@@ -23,4 +23,8 @@ public NoSuchEntityException() { super(MESSAGE); } + + public NoSuchEntityException(String message) { + super(message); + } }
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css b/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css index 255412d..9425443 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css
@@ -514,6 +514,8 @@ padding-right: 5px; border-right: 1px solid trimColor; border-bottom: 1px solid trimColor; + vertical-align: middle; + height: 20px; } .changeTable a.gwt-InlineHyperlink {
diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/BaseServiceImplementation.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/BaseServiceImplementation.java index b124824..3277992 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/BaseServiceImplementation.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/BaseServiceImplementation.java
@@ -72,7 +72,11 @@ } catch (InvalidQueryException e) { callback.onFailure(e); } catch (NoSuchProjectException e) { - callback.onFailure(new NoSuchEntityException()); + if (e.getMessage() != null) { + callback.onFailure(new NoSuchEntityException(e.getMessage())); + } else { + callback.onFailure(new NoSuchEntityException()); + } } catch (NoSuchGroupException e) { callback.onFailure(new NoSuchEntityException()); } catch (OrmRuntimeException e) {