public class IllegalMutationException extends StoreException
DocumentStore#update()
requests a mutation which could structurally alter a
Document without such intention.
For example, if DocumentMutation#set()
is used to set a field to a scalar value but is
currently a Map or array, the mutation is rejected.
Use DocumentMutation#setOrReplace()
instead to force such mutation.Constructor and Description |
---|
IllegalMutationException() |
IllegalMutationException(String s) |
IllegalMutationException(String s,
Throwable t) |
IllegalMutationException(Throwable t) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.