Class LinkMLRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.incenp.linkml.core.LinkMLRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LinkMLInternalError, LinkMLValueError
Base class for all exceptions caused by an error within the LinkML runtime.
In many cases, methods within the LinkML-Java runtime will actually only
throw a more specific exception type (such as LinkMLInternalError or
LinkMLValueError), but will declare throwing this more abstract type
instead.
This is because the distinction between an “internal error” and a “value error” is sometimes fuzzy, and (at least for now), this runtime does not commit to enforcing a strict separation between the two.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance.LinkMLRuntimeException(String msg, Throwable inner) Creates a new instance, for an error that has another exception as the underlying cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LinkMLRuntimeException
Creates a new instance.- Parameters:
msg- A human-readable error message.
-
LinkMLRuntimeException
-