Class SnippetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.restdocs.snippet.SnippetException
All Implemented Interfaces:
Serializable

public class SnippetException extends RuntimeException
A RuntimeException thrown to indicate a problem with the generation of a documentation snippet.
Author:
Andy Wilkinson
See Also:
  • Constructor Details

    • SnippetException

      public SnippetException(String message)
      Creates a new SnippetException described by the given message.
      Parameters:
      message - the message that describes the problem