Uses of Class
org.incenp.linkml.core.LinkMLRuntimeException
Packages that use LinkMLRuntimeException
-
Uses of LinkMLRuntimeException in org.incenp.linkml.core
Subclasses of LinkMLRuntimeException in org.incenp.linkml.coreModifier and TypeClassDescriptionclassAn exception caused by an internal error within the LinkML runtime.classAn exception caused by some invalid data among the data manipulated by the LinkML runtime.Methods in org.incenp.linkml.core that throw LinkMLRuntimeExceptionModifier and TypeMethodDescriptionIConverter.convert(Object raw, ConverterContext ctx) Converts a raw object into a LinkML object.ObjectConverter.convert(Object raw, ConverterContext ctx) Converts a raw map into a new instance of a LinkML object.ObjectConverter.convert(Map<String, Object> raw, ConverterContext ctx) Converts a raw map into a new instance of a LinkML object.ScalarConverterBase.convert(Object raw, ConverterContext ctx) TransparentConverter.convert(Object raw, ConverterContext ctx) voidIConverter.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) Converts a raw object into a LinkML object and assigns the result to a slot of another object.voidObjectConverter.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) Converts the value of a single slot and assigns it to the target object.voidScalarConverterBase.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) voidTransparentConverter.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) protected ObjectBooleanConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectCurieConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectDateConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectDatetimeConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectDoubleConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectEnumConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectFloatConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectIntegerConverter.convertImpl(Object raw, ConverterContext ctx) protected abstract ObjectScalarConverterBase.convertImpl(Object raw, ConverterContext ctx) Performs the actual type conversion.protected ObjectStringConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectTimeConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectURIConverter.convertImpl(Object raw, ConverterContext ctx) voidObjectConverter.convertTo(Object raw, Object dest, ConverterContext ctx) Converts a raw object into an instance of a LinkML object, where the object already exists.voidConverts a raw map into an instance of a LinkML object, where the object already exists.PrefixDeclarationExtractor.extractPrefixes(Map<String, Object> rawMap, Object dest, ConverterContext ctx) Extracts prefix declarations from the raw representation of a LinkML object.voidConverterContext.finalizeAssignments()Performs all delayed assignments.voidConverterContext.finalizeAssignments(boolean failOnMissing) Performs all delayed assignments, optionally failing if an assignment refers to a missing object.ConverterContext.getConverter(Class<?> type) Gets the converter for objects of the given type.ConverterContext.getConverter(Slot slot) Gets the converter for the type of object expected by the given slot.IConverterProvider.getConverter(Class<?> type) Gets a converter for objects of the given type.TypeDesignatorResolver.getDesignator(ClassInfo klass) Gets a single value that designates the provided class.TypeDesignatorResolver.getDesignators(ClassInfo klass) Gets values that designate the provided class along with its ancestors.protected StringObjectConverter.getGlobalIdentifier(Object raw, ConverterContext ctx) Converts the given raw object into an identifier for the target object type.ObjectConverter.getGlobalIdentifierList(Object raw, ConverterContext ctx) Converts the given list of raw objects into identifiers for the target object type.<T> TDereferences a global object, optionally creating it if does not already exist.Dereferences a global object and assigns it to a slot on another object.<T> TLooks up for an object with the specified name.<T> TLooks up for an object with the specified name.voidDereferences several global objects and assigns them to a list.static SlotGets the Slot object corresponding to a given field in a given class.Gets the value of the slot for the given object.ClassInfo.newInstance()Creates a new instance of the class.ObjectConverter.normaliseList(Object raw, InliningMode expected) Normalises a raw multi-valued slot.CurieConverter.serialise(Object object, ConverterContext ctx) DateConverter.serialise(Object object, ConverterContext ctx) DatetimeConverter.serialise(Object object, ConverterContext ctx) EnumConverter.serialise(Object object, ConverterContext ctx) IConverter.serialise(Object object, ConverterContext ctx) Converts a LinkML object into a raw object.ObjectConverter.serialise(Object object, boolean withIdentifier, ConverterContext ctx) Converts a LinkML object into a raw object.ObjectConverter.serialise(Object object, ConverterContext ctx) ScalarConverterBase.serialise(Object object, ConverterContext ctx) TimeConverter.serialise(Object object, ConverterContext ctx) TransparentConverter.serialise(Object object, ConverterContext ctx) IConverter.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) Converts a LinkML object into a raw object, when the object is the value of a specific LinkML slot.ObjectConverter.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) ScalarConverterBase.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) TransparentConverter.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) voidAssigns a value to the slot for the given object.protected ObjectObjectConverter.toIdentifier(Object object, ConverterContext ctx) Gets the unique identifier for the given object.Turns a raw object into a list.Checks that a raw object is a String-keyed map, and casts it as such.Constructors in org.incenp.linkml.core that throw LinkMLRuntimeException -
Uses of LinkMLRuntimeException in org.incenp.linkml.ext
Methods in org.incenp.linkml.ext that throw LinkMLRuntimeExceptionModifier and TypeMethodDescription<T> voidObjectLoader.dumpObject(File file, T object) Dumps a LinkML object into a YAML file.<T> voidObjectLoader.dumpObject(File file, T object, DataFormat format) Dumps a LinkML object into a file.<T> voidObjectLoader.dumpObjects(File file, List<T> objects) Dumps a list of LinkML objects into a YAML file.<T> voidObjectLoader.dumpObjects(File file, List<T> objects, DataFormat format) Dumps a list of LinkML objects into a file.<T> TObjectLoader.loadObject(File file, Class<T> type) Loads an instance of the specified type from a YAML file.<T> TObjectLoader.loadObject(File file, Class<T> type, DataFormat format) Loads an instance of the specified type from a file.<T> List<T> ObjectLoader.loadObjects(File file, Class<T> type) Loads a list of instances of the specified type from a YAML file.<T> List<T> ObjectLoader.loadObjects(File file, Class<T> type, DataFormat format) Loads a list of instances of the specified type from a file. -
Uses of LinkMLRuntimeException in org.incenp.linkml.schema
Methods in org.incenp.linkml.schema that throw LinkMLRuntimeException