ThrowableResultType

sealed interface ThrowableResultType<E : Class<out Throwable>>

The throwable result types notify the user whether the throwable was caught during the construction of the reflection check where it looks up each class/field, or during the execution, where it looks up or assigns new values to properties. As the exceptions overlap, we need to distinguish the two types with a different wrapper.

Inheritors

Types

Link copied to clipboard

A construction throwable is a throwable that was caught during the construction of a reflection check, e.g. when looking up the classes or fields on which the operations would be performed.

Link copied to clipboard

An execution throwable is a throwable that was caught during the execution of a specific operation that was requested, e.g. GetFieldModifiers or SetFieldValue.

Properties

Link copied to clipboard
abstract val throwableClass: E

the class that was thrown.