Class SpecificationViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.chhorz.openapi.common.exception.SpecificationViolationException
- All Implemented Interfaces:
Serializable
This exception will be thrown if the openapi specification will be violated at some point. There may be some reasons
for the violation:
- Missing required field
- Author:
- chhorz
- See Also:
-
Constructor Summary
ConstructorDescriptionSpecificationViolationException
(String message) The openapi specification was violated because of the given reason. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpecificationViolationException
The openapi specification was violated because of the given reason.- Parameters:
message
- the reason of the violation
-