/** * @return the internal mapping of keyextent mappings to SecurityErrorCode * @since 1.5.0 * @deprecated since 1.7.0 see {@link #getSecurityErrorCodes()} */ @Deprecated // @formatter:off public Map<org.apache.accumulo.core.data.KeyExtent,Set<SecurityErrorCode>> getAuthorizationFailuresMap() { return transformKeys(af, TabletIdImpl.TID_2_KE_OLD); } // @formatter:on
/** * @param cvsList * list of constraint violations * @param hashMap * authorization failures * @param serverSideErrors * server side errors * @param unknownErrors * number of unknown errors * * @deprecated since 1.7.0 see * {@link #MutationsRejectedException(Instance, List, Map, Collection, int, Throwable)} */ @Deprecated public MutationsRejectedException(Instance instance, List<ConstraintViolationSummary> cvsList, HashMap<org.apache.accumulo.core.data.KeyExtent,Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) { super( "# constraint violations : " + cvsList.size() + " security codes: " + format(transformKeys(hashMap, TabletIdImpl.KE_2_TID_OLD), instance) + " # server errors " + serverSideErrors.size() + " # exceptions " + unknownErrors, cause); this.cvsl = cvsList; this.af = transformKeys(hashMap, TabletIdImpl.KE_2_TID_OLD); this.es = serverSideErrors; this.unknownErrors = unknownErrors; }
/** * @param cvsList * list of constraint violations * @param hashMap * authorization failures * @param serverSideErrors * server side errors * @param unknownErrors * number of unknown errors * * @deprecated since 1.6.0, see * {@link #MutationsRejectedException(Instance, List, Map, Collection, int, Throwable)} */ @Deprecated public MutationsRejectedException(List<ConstraintViolationSummary> cvsList, HashMap<org.apache.accumulo.core.data.KeyExtent,Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) { super( "# constraint violations : " + cvsList.size() + " security codes: " + hashMap.values() + " # server errors " + serverSideErrors.size() + " # exceptions " + unknownErrors, cause); this.cvsl = cvsList; this.af = transformKeys(hashMap, TabletIdImpl.KE_2_TID_OLD); this.es = serverSideErrors; this.unknownErrors = unknownErrors; }