org.jbehave.core.configuration
Class MissingAnnotationException

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

public class MissingAnnotationException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
MissingAnnotationException(java.lang.Class<?> annotatedClass, java.lang.Class<? extends java.lang.annotation.Annotation> missingAnnotation)
          Used when an annotation is required and not found
MissingAnnotationException(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.lang.String missingMemberName)
          Used when a member 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

MissingAnnotationException

public MissingAnnotationException(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

MissingAnnotationException

public MissingAnnotationException(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                                  java.lang.String missingMemberName)
Used when a member is required and not found

Parameters:
annotation - the Annotation class
missingMemberName - the missing member name


Copyright © 2003-2010. All Rights Reserved.