Package io.joynr.exceptions
Class JoynrDelayMessageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.joynr.exceptions.JoynrRuntimeException
-
- io.joynr.exceptions.JoynrDelayMessageException
-
- All Implemented Interfaces:
JoynrException,JoynrType,Serializable
public class JoynrDelayMessageException extends JoynrRuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface io.joynr.exceptions.JoynrException
JSON_FIELD_NAME_MESSAGE, JSON_FIELD_NAME_TYPE
-
-
Constructor Summary
Constructors Constructor Description JoynrDelayMessageException(long delayMs, String reason)JoynrDelayMessageException(long delayMs, String reason, Throwable cause)JoynrDelayMessageException(String reason)Uses default delay as injected using property joynr.messaging.sendmsgretryintervalms or 1 sec if no value was injected.JoynrDelayMessageException(String reason, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetDelayMs()inthashCode()-
Methods inherited from class io.joynr.exceptions.JoynrRuntimeException
getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JoynrDelayMessageException
public JoynrDelayMessageException(String reason)
Uses default delay as injected using property joynr.messaging.sendmsgretryintervalms or 1 sec if no value was injected.- Parameters:
reason- why the message is being delayed
-
JoynrDelayMessageException
public JoynrDelayMessageException(long delayMs, String reason)- Parameters:
delayMs- how long the message should be delayedreason- why the message is being delayed
-
JoynrDelayMessageException
public JoynrDelayMessageException(long delayMs, String reason, Throwable cause)- Parameters:
delayMs- how long the message should be delayedreason- why the message is being delayedcause- cause
-
-
Method Detail
-
getDelayMs
public long getDelayMs()
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceJoynrException- Overrides:
hashCodein classJoynrRuntimeException
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceJoynrException- Overrides:
equalsin classJoynrRuntimeException
-
-