public class FieldDoesNotExistException extends RuntimeException
FieldDoesNotExistException
is thrown when a requested field does not exist in
a payload.Constructor and Description |
---|
FieldDoesNotExistException(org.springframework.restdocs.payload.JsonFieldPath fieldPath)
Creates a new
FieldDoesNotExistException that indicates that the field with
the given fieldPath does not exist. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FieldDoesNotExistException(org.springframework.restdocs.payload.JsonFieldPath fieldPath)
FieldDoesNotExistException
that indicates that the field with
the given fieldPath
does not exist.fieldPath
- the path of the field that does not exist