Fixing the OWS exception hadler for (exception.code==None) 

The exception handler failed for exception's code attribute set to None.
Further, if not specified the OWS exception code shall default to "NoApplicableCode".