Package joynr.exceptions
Class PublicationMissedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.joynr.exceptions.JoynrRuntimeException
-
- joynr.exceptions.PublicationMissedException
-
- All Implemented Interfaces:
JoynrException,JoynrType,Serializable
public class PublicationMissedException extends JoynrRuntimeException
Joynr exception to report missed periodic publications.- 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 PublicationMissedException(String subscriptionId)Constructor for a PublicationMissedException with subscription ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetSubscriptionId()inthashCode()StringtoString()-
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
-
-
-
-
Constructor Detail
-
PublicationMissedException
public PublicationMissedException(String subscriptionId)
Constructor for a PublicationMissedException with subscription ID.- Parameters:
subscriptionId- the subscription ID of the subscription the missed publication belongs to.
-
-
Method Detail
-
getSubscriptionId
public String getSubscriptionId()
- Returns:
- the subscription ID of the subscription the missed publication belongs to.
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceJoynrException- Overrides:
hashCodein classJoynrRuntimeException
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceJoynrException- Overrides:
equalsin classJoynrRuntimeException
-
-