Corrected missuse of Exception instead of Error.
Corrected missuse of Exception instead of Error.

Change-Id: I890ba47c7739e07f6db8ecdbdcca3ff306acf292
Reviewed-on: http://review.couchbase.org/26460
Tested-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>

ronkorving/couchnode,jess-sheneberger/couchnode,GannettDigital/couchnode,jess-sheneberger/couchnode,KenanSulayman/couchnode,couchbase/couchnode,kshmir/couchnode,brett19/couchnode,KenanSulayman/couchnode,couchbase/couchnode,GannettDigital/couchnode,ConnectedHomes/couchnode,ConnectedHomes/couchnode,ConnectedHomes/couchnode,brett19/couchnode,actano/couchnode,kshmir/couchnode,corbinu/couchnode,GannettDigital/couchnode,corbinu/couchnode,KenanSulayman/couchnode,ronkorving/couchnode,corbinu/couchnode,Bloutiouf/couchnode,couchbase/couchnode,couchbase/couchnode,ronkorving/couchnode,Bloutiouf/couchnode,jess-sheneberger/couchnode,kshmir/couchnode,KenanSulayman/couchnode,jess-sheneberger/couchnode,Bloutiouf/couchnode,actano/couchnode,brett19/couchnode,ConnectedHomes/couchnode,ronkorving/couchnode,Bloutiouf/couchnode,actano/couchnode