de6d4644创建于 2024年11月4日历史提交
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2024. All rights reserved.
 */
package jwt4cj

public open class MissingClaimException <: InvalidClaimException {
    private var claimName: String

    public init() {
        super("The Claim is not present in the JWT.")
        this.claimName = ""
    }

    public init(claimName: String) {
        super("The Claim '${claimName}' is not present in the JWT.")
        this.claimName = claimName
    }

    public func getClaimName(): String {
        return this.claimName
    }
}