MemberNotFoundException

class MemberNotFoundException(val memberType: MemberType, val targetClass: String, val searchedSuper: Boolean, val conditionDesc: String? = null, val candidates: List<String> = emptyList(), cause: Throwable? = null) : RuntimeException

反射成员查找失败时的异常。 包含结构化的搜索上下文,输出格式清晰可读。

  • debugMode = false:简洁输出 + hint

  • debugMode = true:框线格式 + 候选成员列表 + 不匹配原因

Constructors

Link copied to clipboard
constructor(memberType: MemberType, targetClass: String, searchedSuper: Boolean, conditionDesc: String? = null, candidates: List<String> = emptyList(), cause: Throwable? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard