cloudstack/server/src/com/cloud
Vijayendra Bhamidipati f601db1304 Bug 14060: Include a CloudStack error code in an Exception Response
Bug 13127: API error text refer to database ids instead of uuids

Code-Reviewers: Ewan Mellor, Kelven Yang

Description:

	1. A new class CSExceptionErrorCode has been added to utils.
	   It contains a list of error codes for each type of
	   Exception class. Use fully qualified package paths for
	   Exceptions in CSExceptionErrorCode.  We log any exception
	   name not found in the list of error codes for exceptions.

	2. Whenever we throw an exception exobj anywhere in the
	   CS code, the CSErrorCode is set in the base class
	   constructor.

	3. We add a new field csErrorCode in classes CloudException,
	   RuntimeCloudException, ExecutionException and
	   ExceptionResponse.

	4. Two places in ApiServer.java were wrongly modified when
	   putting in changes for bug 13127 to not throw an exception.
	   This has been corrected in this commit.
2012-05-01 13:48:15 +01:00
..
account Switch to Apache license 2012-04-03 04:54:14 -07:00
acl Switch to Apache license 2012-04-03 04:54:14 -07:00
agent Bug 13127: API error text refer to database ids instead of uuids 2012-05-01 13:21:44 +01:00
alert bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled. 2012-04-20 10:56:27 +05:30
api Bug 14060: Include a CloudStack error code in an Exception Response 2012-05-01 13:48:15 +01:00
async Bug 13127: API error text refer to database ids instead of uuids 2012-05-01 13:21:44 +01:00
baremetal Bug 13127: API error text refer to database ids instead of uuids 2012-05-01 13:21:44 +01:00
capacity bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled. 2012-04-20 10:56:27 +05:30
certificate/dao Switch to Apache license 2012-04-03 04:54:14 -07:00
cluster Bug 13127: API error text refer to database ids instead of uuids 2012-05-01 13:21:44 +01:00
configuration Implementation of api 'markDefaultZoneForAccount'(to enable a user to mark a zone as default for an account). 2012-04-30 17:08:32 -07:00
consoleproxy Hardening console proxy AJAX protocol to address security concerns 2012-04-19 12:07:35 -07:00
dao Switch to Apache license 2012-04-03 04:54:14 -07:00
dc bug 14449: added logging to createVlanIpRange 2012-04-10 11:23:58 -07:00
deploy bug 14622: introduced ha tagging for host 2012-04-09 15:17:13 -07:00
domain Switch to Apache license 2012-04-03 04:54:14 -07:00
event Switch to Apache license 2012-04-03 04:54:14 -07:00
ha bug 14622: introduced ha tagging for host 2012-04-09 15:17:13 -07:00
host/dao bug 14622: introduced ha tagging for host 2012-04-09 15:17:13 -07:00
hypervisor add CentOS 6.0, CentOS 5.7, RHEL 5.7 support for XenServer 6.0.2 2012-04-24 10:50:34 -07:00
keystore Switch to Apache license 2012-04-03 04:54:14 -07:00
maint Switch to Apache license 2012-04-03 04:54:14 -07:00
migration bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering 2012-04-03 10:51:35 -07:00
netapp Switch to Apache license 2012-04-03 04:54:14 -07:00
network Bug 14060: Include a CloudStack error code in an Exception Response 2012-05-01 13:48:15 +01:00
offerings Open vSwitch tunnel manager 2012-04-24 02:20:37 +01:00
projects Switch to Apache license 2012-04-03 04:54:14 -07:00
resource Fixing remaining issues with per-VIF flow script and removing version-specific scripts. 2012-04-24 02:20:38 +01:00
resourcelimit Switch to Apache license 2012-04-03 04:54:14 -07:00
secstorage Switch to Apache license 2012-04-03 04:54:14 -07:00
server Bug 14060: Include a CloudStack error code in an Exception Response 2012-05-01 13:48:15 +01:00
service Switch to Apache license 2012-04-03 04:54:14 -07:00
servlet Don't use dynamic quiried key size as it varies on different JVM implementation and security providers 2012-04-20 11:42:15 -07:00
storage bug 13832: fixed NPE 2012-05-01 13:15:36 +01:00
template Bug CS-14447: set crossZones attribute for the template before persisting it to the db 2012-04-13 14:16:06 -07:00
test Switch to Apache license 2012-04-03 04:54:14 -07:00
upgrade Console proxy refactoring incremental check-in - new VNC protocol implementation 2012-05-01 13:45:15 +01:00
usage Switch to Apache license 2012-04-03 04:54:14 -07:00
user Update apikey/secretkey in transaction 2012-05-01 11:02:25 +01:00
uuididentity Switch to Apache license 2012-04-03 04:54:14 -07:00
vm bug 13673: stopping alien VMs during sync for Xenserver 2012-05-01 13:00:03 +01:00