You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by ra...@apache.org on 2015/09/08 08:53:56 UTC

lens git commit: LENS-737 : Throw single error out with LensMultiException: Add a missing class in the earlier patch

Repository: lens
Updated Branches:
  refs/heads/master ab74f6ea4 -> 3576207a1


LENS-737 : Throw single error out with LensMultiException:   Add a missing class in the earlier patch


Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/3576207a
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/3576207a
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/3576207a

Branch: refs/heads/master
Commit: 3576207a1f2aeba096fe4d60a0c279da133a2706
Parents: ab74f6e
Author: Sushil Mohanty <su...@inmobi.com>
Authored: Tue Sep 8 12:23:20 2015 +0530
Committer: raju.bairishetti <ra...@apache.org>
Committed: Tue Sep 8 12:23:20 2015 +0530

----------------------------------------------------------------------
 .../apache/lens/server/api/LensErrorInfo.java   | 34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lens/blob/3576207a/lens-server-api/src/main/java/org/apache/lens/server/api/LensErrorInfo.java
----------------------------------------------------------------------
diff --git a/lens-server-api/src/main/java/org/apache/lens/server/api/LensErrorInfo.java b/lens-server-api/src/main/java/org/apache/lens/server/api/LensErrorInfo.java
new file mode 100644
index 0000000..449120d
--- /dev/null
+++ b/lens-server-api/src/main/java/org/apache/lens/server/api/LensErrorInfo.java
@@ -0,0 +1,34 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.lens.server.api;
+
+import lombok.*;
+
+@AllArgsConstructor
+public class LensErrorInfo {
+
+  @Getter
+  private int errorCode;
+  @Getter
+  private int errorWeight;
+  @Getter
+  private String errorName;
+
+}