Package org.jbehave.core.configuration
Class AnnotationRequired
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jbehave.core.configuration.AnnotationRequired
-
- All Implemented Interfaces:
Serializable
public class AnnotationRequired extends RuntimeException
Thrown when an annotation is required and not found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationRequired(Class<?> annotatedClass, Class<? extends Annotation> missingAnnotation)
Used when an annotation is required and not found
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AnnotationRequired
public AnnotationRequired(Class<?> annotatedClass, Class<? extends Annotation> missingAnnotation)
Used when an annotation is required and not found- Parameters:
annotatedClass
- the annotated ClassmissingAnnotation
- the missing Annotation class
-
-