Just use the class name instead of TYPE constant
Just use the class name instead of TYPE constant

The TYPE constant is more of an internal protocol
detail and is not the best constant to use in exceptions
that tell the received data is invalid, instead just
prefer and use the class name instead which is more
relevant than the TYPE constant.

Change-Id: I60652a149eb1a3c3d8523544c355044bbd6fec94

junneyang/taskflow,pombredanne/taskflow-1,openstack/taskflow,jimbobhickville/taskflow,openstack/taskflow,junneyang/taskflow,pombredanne/taskflow-1,jimbobhickville/taskflow