java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.jena.shared.JenaException
org.apache.jena.ontology.OntologyException
org.apache.jena.ontology.ConversionException
- All Implemented Interfaces:
Serializable
Exception that is thrown when an ontology resource is converted to another
facet, using as()
, and the requested conversion is not
possible. The reasons for the failure may be that the requested term is not
in the language profile of the language attached to the
ontology model, or because the pre-conditions for the conversion are not met.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an ontology exception with a given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConversionException
Construct an ontology exception with a given message.- Parameters:
msg
- The exception message.
-