Package org.incenp.linkml.schema
Class InvalidSchemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.incenp.linkml.schema.InvalidSchemaException
-
- All Implemented Interfaces:
Serializable
public class InvalidSchemaException extends Exception
This exception is thrown when processing a LinkML schema that does not conform to the LinkML specification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSchemaException(String msg)Creates a new instance.InvalidSchemaException(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
-
InvalidSchemaException
public InvalidSchemaException(String msg)
Creates a new instance.- Parameters:
msg- A human-readable error message.
-
InvalidSchemaException
public InvalidSchemaException(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.
-
-