Package io.cucumber.core.backend
Class CucumberInvocationTargetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.cucumber.core.backend.CucumberInvocationTargetException
-
- All Implemented Interfaces:
Serializable
@API(status=STABLE) public final class CucumberInvocationTargetException extends RuntimeException
Thrown when an exception was thrown by glue code. Not to be confused withCucumberBackendException
which is thrown when the backend failed to invoke the glue.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CucumberInvocationTargetException(Located located, InvocationTargetException invocationTargetException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getInvocationTargetExceptionCause()
Located
getLocated()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CucumberInvocationTargetException
public CucumberInvocationTargetException(Located located, InvocationTargetException invocationTargetException)
-
-