Adding convenience functions in the OFErrorType enum, and resetting writerIndex in OFError.setOffendingMsg()
Adding convenience functions in the OFErrorType enum, and resetting writerIndex in OFError.setOffendingMsg()

rcchan/cs168-sdn-floodlight,rcchan/cs168-sdn-floodlight,rcchan/cs168-sdn-floodlight,drinkwithwater/floodlightplus,rcchan/cs168-sdn-floodlight,rcchan/cs168-sdn-floodlight,drinkwithwater/floodlightplus,drinkwithwater/floodlightplus,drinkwithwater/floodlightplus