Repository: cloudstack Updated Branches: refs/heads/auth-refactor [created] 03ad002b0
ApiErrorCode: Add API error code 401, 405 Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f888d7ad Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f888d7ad Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f888d7ad Branch: refs/heads/auth-refactor Commit: f888d7ad8d17bde79583676ec7048d4e55dc9a8c Parents: ac1951b Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Tue Aug 12 07:24:42 2014 +0200 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Tue Aug 12 09:19:41 2014 +0200 ---------------------------------------------------------------------- api/src/org/apache/cloudstack/api/ApiErrorCode.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f888d7ad/api/src/org/apache/cloudstack/api/ApiErrorCode.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/ApiErrorCode.java b/api/src/org/apache/cloudstack/api/ApiErrorCode.java index fa47f30..2784058 100644 --- a/api/src/org/apache/cloudstack/api/ApiErrorCode.java +++ b/api/src/org/apache/cloudstack/api/ApiErrorCode.java @@ -22,6 +22,8 @@ package org.apache.cloudstack.api; */ public enum ApiErrorCode { + UNAUTHORIZED(401), + METHOD_NOT_ALLOWED(405), MALFORMED_PARAMETER_ERROR(430), PARAM_ERROR(431), UNSUPPORTED_ACTION_ERROR(432),