Class FieldDoesNotExistException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.restdocs.payload.FieldDoesNotExistException
- All Implemented Interfaces:
 Serializable
A 
FieldDoesNotExistException is thrown when a requested field does not exist in
a payload.- Author:
 - Andy Wilkinson
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionFieldDoesNotExistException(String fieldPath) Creates a newFieldDoesNotExistExceptionthat indicates that the field with the givenfieldPathdoes not exist. - 
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
FieldDoesNotExistException
Creates a newFieldDoesNotExistExceptionthat indicates that the field with the givenfieldPathdoes not exist.- Parameters:
 fieldPath- the path of the field that does not exist
 
 -