Class SnippetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.restdocs.snippet.SnippetException
- All Implemented Interfaces:
Serializable
A
RuntimeException thrown to indicate a problem with the generation of a
documentation snippet.- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSnippetException(String message) Creates a newSnippetExceptiondescribed by 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
-
SnippetException
Creates a newSnippetExceptiondescribed by the givenmessage.- Parameters:
message- the message that describes the problem
-