Class 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 Detail

      • LinkMLInternalError

        public LinkMLInternalError​(String msg)
        Creates a new instance.
        Parameters:
        msg - A human-readable error message.
      • LinkMLInternalError

        public LinkMLInternalError​(String msg,
                                   Throwable inner)
        Creates a new instance, for an error that has another exception as the underlying cause.
        Parameters:
        msg - A human-readable error message.
        inner - The original exception that caused the present exception to be thrown.