public class MissingRequiredAnnotationException extends RuntimeException
| Constructor and Description |
|---|
MissingRequiredAnnotationException(Class<? extends Annotation> requiredAnnotation,
Class<?> swaggerInterface)
Create a new MissingRequiredAnnotationException for the provided missing required annotation
on the provided swaggerInterface.
|
MissingRequiredAnnotationException(Class<? extends Annotation> requiredAnnotation,
Method swaggerInterfaceMethod)
Create a new MissingRequiredAnnotationException for the provided missing required annotation
on the provided swaggerInterface method.
|
MissingRequiredAnnotationException(List<Class<? extends Annotation>> requiredAnnotationOptions,
Method swaggerInterfaceMethod)
Create a new MissingRequiredAnnotationException for the provided missing required annotation
options on the provided swaggerInterface method.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MissingRequiredAnnotationException(Class<? extends Annotation> requiredAnnotation, Class<?> swaggerInterface)
requiredAnnotation - The annotation that is required.swaggerInterface - The swagger interface that is missing the required annotation.public MissingRequiredAnnotationException(Class<? extends Annotation> requiredAnnotation, Method swaggerInterfaceMethod)
requiredAnnotation - The annotation that is required.swaggerInterfaceMethod - The swagger interface method that is missing the required annotation.public MissingRequiredAnnotationException(List<Class<? extends Annotation>> requiredAnnotationOptions, Method swaggerInterfaceMethod)
requiredAnnotationOptions - The options for the annotation that is required.swaggerInterfaceMethod - The swagger interface method that is missing the required annotation./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/