org.jbehave.core.configuration
Class AnnotationRequired

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jbehave.core.configuration.AnnotationRequired
All Implemented Interfaces:
java.io.Serializable

public class AnnotationRequired
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
AnnotationRequired(java.lang.Class<?> annotatedClass, java.lang.Class<? extends java.lang.annotation.Annotation> missingAnnotation)
          Used when an annotation is required and not found
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationRequired

public AnnotationRequired(java.lang.Class<?> annotatedClass,
                          java.lang.Class<? extends java.lang.annotation.Annotation> missingAnnotation)
Used when an annotation is required and not found

Parameters:
annotatedClass - the annotated Class
missingAnnotation - the missing Annotation class


Copyright © 2003-2010. All Rights Reserved.