Class FieldTypeRequiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.restdocs.payload.FieldTypeRequiredException
All Implemented Interfaces:
Serializable

public class FieldTypeRequiredException extends RuntimeException
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 Details

    • FieldTypeRequiredException

      public FieldTypeRequiredException(String message)
      Creates a new FieldTypeRequiredException indicating that a type is required for the reason described in the given message.
      Parameters:
      message - the message