Needed a more generic IOException than UnsupportedEncodingException which is thrown by IMediaType and is used in many places.  

If you prefer I can wrap it inside OpenshiftException instead.