Package org.incenp.linkml.core
Class LinkMLInternalError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.incenp.linkml.core.LinkMLRuntimeException
-
- org.incenp.linkml.core.LinkMLInternalError
-
- All Implemented Interfaces:
Serializable
public class LinkMLInternalError extends LinkMLRuntimeException
An exception caused by an internal error within the LinkML runtime. Such an error reveals either (1) a bug in the runtime or (2) an issue with the generated code that is supposed to be used with the runtime.Either way, this is an error that should not happen and that is independent of the user's data.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkMLInternalError(String msg)Creates a new instance.LinkMLInternalError(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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LinkMLInternalError
public LinkMLInternalError(String msg)
Creates a new instance.- Parameters:
msg- A human-readable error message.
-
-