return new CmisNotSupportedException(message, errorContent, t); case 407: return new CmisProxyAuthenticationException(message, errorContent, t); case 409: return new CmisConstraintException(message, errorContent, t);
return new CmisNotSupportedException(message, errorContent, t); case 407: return new CmisProxyAuthenticationException(message, errorContent, t); case 409: return new CmisConstraintException(message, errorContent, t);
return new CmisNotSupportedException(message, errorContent, t); case 407: return new CmisProxyAuthenticationException(message, errorContent, t); case 409: if (CmisContentAlreadyExistsException.EXCEPTION_NAME.equals(exception)) {
return new CmisNotSupportedException(message, errorContent, additionalData, t); case 407: return new CmisProxyAuthenticationException(message, errorContent, additionalData, t); case 409: if (CmisContentAlreadyExistsException.EXCEPTION_NAME.equals(exception)) {
throw new CmisObjectNotFoundException(message, he); } else if (he.getStatusCode() == 407) { throw new CmisProxyAuthenticationException(message, he); } else if (he.getStatusCode() == 429) { throw new CmisTooManyRequestsException(message, he);