public class NonUniqueJsonException extends JsonDetailedException
Details can have more then one violated field, it means that constraint is composite.
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_NOT_UNIQUE |
Constructor and Description |
---|
NonUniqueJsonException() |
NonUniqueJsonException(List<String> compositeUniqueList) |
NonUniqueJsonException(String nonUniqueFieldName) |
deserialize, getDetails, getMessage, serialize, setDetails, toString
getExceptionName, getResponseCode, setResponseCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final String MESSAGE_NOT_UNIQUE
Copyright © 2018. All rights reserved.