Package org.apache.accumulo.core.client
Class MutationsRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.accumulo.core.client.AccumuloException
org.apache.accumulo.core.client.MutationsRejectedException
- All Implemented Interfaces:
 Serializable
Communicate the failed mutations of a BatchWriter back to the client.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionMutationsRejectedException(List<ConstraintViolationSummary> cvsList, HashMap<KeyExtent, Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) Deprecated.MutationsRejectedException(Instance instance, List<ConstraintViolationSummary> cvsList, HashMap<KeyExtent, Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) Deprecated.MutationsRejectedException(Instance instance, List<ConstraintViolationSummary> cvsList, Map<TabletId, Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause)  - 
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 1.5, seegetAuthorizationFailuresMap()Deprecated.since 1.7.0 seegetSecurityErrorCodes()intMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
MutationsRejectedException
@Deprecated public MutationsRejectedException(List<ConstraintViolationSummary> cvsList, HashMap<KeyExtent, Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) Deprecated.- Parameters:
 cvsList- list of constraint violationshashMap- authorization failuresserverSideErrors- server side errorsunknownErrors- number of unknown errors
 - 
MutationsRejectedException
@Deprecated public MutationsRejectedException(Instance instance, List<ConstraintViolationSummary> cvsList, HashMap<KeyExtent, Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) Deprecated.- Parameters:
 cvsList- list of constraint violationshashMap- authorization failuresserverSideErrors- server side errorsunknownErrors- number of unknown errors
 - 
MutationsRejectedException
public MutationsRejectedException(Instance instance, List<ConstraintViolationSummary> cvsList, Map<TabletId, Set<SecurityErrorCode>> hashMap, Collection<String> serverSideErrors, int unknownErrors, Throwable cause) - Parameters:
 cvsList- list of constraint violationshashMap- authorization failuresserverSideErrors- server side errorsunknownErrors- number of unknown errors- Since:
 - 1.7.0
 
 
 - 
 - 
Method Details
- 
getConstraintViolationSummaries
- Returns:
 - the internal list of constraint violations
 
 - 
getAuthorizationFailures
Deprecated.since 1.5, seegetAuthorizationFailuresMap()- Returns:
 - the internal list of authorization failures
 
 - 
getAuthorizationFailuresMap
Deprecated.since 1.7.0 seegetSecurityErrorCodes()- Returns:
 - the internal mapping of keyextent mappings to SecurityErrorCode
 - Since:
 - 1.5.0
 
 - 
getSecurityErrorCodes
- Returns:
 - the internal mapping of TabletID to SecurityErrorCodes
 
 - 
getErrorServers
- Returns:
 - A list of servers that had internal errors when mutations were written
 
 - 
getUnknownExceptions
public int getUnknownExceptions()- Returns:
 - a count of unknown exceptions that occurred during processing
 
 
 - 
 
MutationsRejectedException(Instance, List, Map, Collection, int, Throwable)