if (CmisStreamNotSupportedException.EXCEPTION_NAME.equals(exception)) {
return new CmisStreamNotSupportedException(message, errorContent, t);
}
return new CmisPermissionDeniedException(message, errorContent, t);
case 404:
return new CmisObjectNotFoundException(message, errorContent, t);
case 405:
return new CmisNotSupportedException(message, errorContent, t);
case 407:
return new CmisProxyAuthenticationException(message, errorContent, t);
case 409: