MessageTypeMismatchException


class MessageTypeMismatchException : 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

Public constructors

MessageTypeMismatchException

Added in 1.1.0-alpha02
MessageTypeMismatchException(message: String)