* Converts an error message or a HTTP status code into an Exception.
*/
protected CmisBaseException convertStatusCode(int code, String message, String errorContent, Throwable t) {
Object obj = null;
try {
JSONParser parser = new JSONParser();
obj = parser.parse(errorContent);
} catch (Exception pe) {
}
if (obj instanceof JSONObject) {
JSONObject json = (JSONObject) obj;