MessageTypeMismatchException


public final class MessageTypeMismatchException extends RuntimeException

Indicates an attempt to access the data of a Message object as the wrong type.

This exception is thrown by accessor methods in the Message class when the message's actual content type does not match the requested type.

Summary

Public constructors

Inherited methods

From java.lang.Throwable

Public constructors

MessageTypeMismatchException

Added in 1.1.0-rc01
public MessageTypeMismatchException(@NonNull String message)