Repository: lens Updated Branches: refs/heads/master 77bc8c20b -> 9ea1513b4
LENS-1245 : Fix error message in LensAPIException Project: http://git-wip-us.apache.org/repos/asf/lens/repo Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/9ea1513b Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/9ea1513b Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/9ea1513b Branch: refs/heads/master Commit: 9ea1513b400b9896270d4e28fc47cdff63a7c970 Parents: 77bc8c2 Author: Amareshwari Sriramadasu <[email protected]> Authored: Thu Aug 4 11:04:10 2016 +0530 Committer: Amareshwari Sriramadasu <[email protected]> Committed: Thu Aug 4 11:04:10 2016 +0530 ---------------------------------------------------------------------- .../java/org/apache/lens/client/exceptions/LensAPIException.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lens/blob/9ea1513b/lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java ---------------------------------------------------------------------- diff --git a/lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java b/lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java index fcc53c5..13fc7e8 100644 --- a/lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java +++ b/lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java @@ -45,4 +45,8 @@ public class LensAPIException extends Exception { public String getLensAPIRequestId() { return this.errorResult.getId(); } + + public String getMessage() { + return getLensAPIErrorMessage(); + } }
