Package com.consol.citrus.exceptions
Class ActionTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.consol.citrus.exceptions.CitrusRuntimeException
-
- com.consol.citrus.exceptions.ActionTimeoutException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MessageTimeoutException
public class ActionTimeoutException extends CitrusRuntimeException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected longtimeout
-
Constructor Summary
Constructors Constructor Description ActionTimeoutException()Default constructorActionTimeoutException(long timeout)Constructor using fields.ActionTimeoutException(long timeout, Throwable cause)Constructor using fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDetailMessage()StringgetMessage()-
Methods inherited from class com.consol.citrus.exceptions.CitrusRuntimeException
getFailureStack, getFailureStackAsString, setFailureStack
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ActionTimeoutException
public ActionTimeoutException()
Default constructor
-
ActionTimeoutException
public ActionTimeoutException(long timeout)
Constructor using fields.- Parameters:
timeout-
-
ActionTimeoutException
public ActionTimeoutException(long timeout, Throwable cause)Constructor using fields.- Parameters:
timeout-cause-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classCitrusRuntimeException
-
getDetailMessage
protected String getDetailMessage()
-
-