TypeNotFoundException
classin packageklyn.reflection
public class TypeNotFoundException extends Exception
└ TypeNotFoundException

Exception raised when reflection cannot resolve a requested type name.

TypeLoader.load uses this exception when no Type metadata can be found for the requested name.

import klyn.reflection

try:
    TypeLoader().load("missing.Type")
catch error as TypeNotFoundException:
    print(error.message)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public TypeNotFoundException
TypeNotFoundException(message as String = "Type not found")
Creates a type-not-found exception.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml