Package org.citrusframework.exceptions
Class ActionTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.citrusframework.exceptions.CitrusRuntimeException
org.citrusframework.exceptions.ActionTimeoutException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MessageTimeoutException
Throw this exception in case you did not receive a message on a destination in time.
Used in message receivers to state that expected message did not arrive.
- Author:
- Christoph Deppisch
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorActionTimeoutException(long timeout) Constructor using fields.ActionTimeoutException(long timeout, Throwable cause) Constructor using fields. -
Method Summary
Methods inherited from class org.citrusframework.exceptions.CitrusRuntimeException
getFailureStack, getFailureStackAsString, setFailureStackMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
timeout
protected final long timeout
-
-
Constructor Details
-
ActionTimeoutException
public ActionTimeoutException()Default constructor -
ActionTimeoutException
public ActionTimeoutException(long timeout) Constructor using fields.- Parameters:
timeout-
-
ActionTimeoutException
Constructor using fields.- Parameters:
timeout-cause-
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classCitrusRuntimeException
-
getDetailMessage
-