org.jbehave.core.errors
Class BeforeOrAfterException

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

public class BeforeOrAfterException
extends java.lang.RuntimeException

Thrown when methods with before or after annotations (story or core) fail.

See Also:
Serialized Form

Constructor Summary
BeforeOrAfterException(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, java.lang.reflect.Method method, java.lang.Throwable t)
           
 
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

BeforeOrAfterException

public BeforeOrAfterException(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                              java.lang.reflect.Method method,
                              java.lang.Throwable t)


Copyright © 2003-2010. All Rights Reserved.