public class TypeNotFoundException extends Exception:
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)| Modifier and Type | Member | Description |
|---|---|---|
| public | TypeNotFoundExceptionTypeNotFoundException(message as String = "Type not found"): |
Creates a type-not-found exception. |