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:
  • Constructor Details

    • AnnotationRequired

      public AnnotationRequired(Class<?> annotatedClass, Class<? extends Annotation> missingAnnotation)
      Used when an annotation is required and not found
      Parameters:
      annotatedClass - the annotated Class
      missingAnnotation - the missing Annotation class