Class RestDocumentationGenerationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.restdocs.generate.RestDocumentationGenerationException
- All Implemented Interfaces:
Serializable
An exception that can be thrown when a failure occurs during REST documentation
generation.
- Since:
- 1.1.0
- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
ConstructorDescriptionRestDocumentationGenerationException
(String message, Throwable cause) Creates a newRestDocumentationException
with the givenmessage
andcause
.Creates a newRestDocumentationException
with the givencause
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestDocumentationGenerationException
Creates a newRestDocumentationException
with the givencause
.- Parameters:
cause
- the cause
-
RestDocumentationGenerationException
Creates a newRestDocumentationException
with the givenmessage
andcause
.- Parameters:
message
- the messagecause
- the cause
-