Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.data/UnsupportedDataItemException

UnsupportedDataItemException

class UnsupportedDataItemException(message: String? = null, cause: Throwable? = null) : TealiumException

This Exception is thrown in cases where a conversion from an value to a DataItem has been attempted but has failed to do so.

This may happen in cases where the value was not a supported type; i.e. it is not a supported primitive value, and it does not implement DataItemConvertible.

There are other edge cases that may also throw, for instance, Double.NaN or Infinity values may throw depending on the method used to convert them.

Parameters

message

Explanation of why the conversion failed.

cause

An exception thrown during conversion, if any

Constructors

UnsupportedDataItemException
Link copied to clipboard
constructor(message: String? = null, cause: Throwable? = null)

Properties

cause
Link copied to clipboard
open val cause: Throwable?
message
Link copied to clipboard
open val message: String?
Generated by Dokka
(c) Tealium 2026