Package org.apache.jena.ontology
Class ProfileException
- 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.ProfileException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProfileException extends OntologyException
Exception that is raised when an ontology operation is attempted that is not present in the language profile for the current ontology model. For example, if the language profile is owl lite, class complements are not permitted and so that element of the profile is null. An attempt to create a class complement in an OWL Lite model will raise a ProfileException.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileException(java.lang.String element, Profile profile)
-
-
-
Constructor Detail
-
ProfileException
public ProfileException(java.lang.String element, Profile profile)
-
-