Class FieldTypeRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.restdocs.payload.FieldTypeRequiredException
- All Implemented Interfaces:
Serializable
A
FieldTypeRequiredException
is thrown when a field's type cannot be determined
automatically and, therefore, must be explicitly provided.- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
ConstructorDescriptionFieldTypeRequiredException
(String message) Creates a newFieldTypeRequiredException
indicating that a type is required for the reason described in the givenmessage
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FieldTypeRequiredException
Creates a newFieldTypeRequiredException
indicating that a type is required for the reason described in the givenmessage
.- Parameters:
message
- the message
-