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
ConstructorDescriptionSnippetException
(String message) Creates a newSnippetException
described 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 newSnippetException
described by the givenmessage
.- Parameters:
message
- the message that describes the problem
-