public class ModelCreationException
extends java.lang.RuntimeException
TemplatedSnippet to indicate that a
failure has occurred during model creation.TemplatedSnippet.createModel(org.springframework.restdocs.operation.Operation),
Serialized Form| Constructor and Description |
|---|
ModelCreationException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
ModelCreationException with the given message and
cause. |
ModelCreationException(java.lang.Throwable cause)
Creates a new
ModelCreationException with the given cause. |
public ModelCreationException(java.lang.Throwable cause)
ModelCreationException with the given cause.cause - the causepublic ModelCreationException(java.lang.String message,
java.lang.Throwable cause)
ModelCreationException with the given message and
cause.message - the messagecause - the cause