com.hp.hpl.jena.ontology
Class ProfileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hp.hpl.jena.shared.JenaException
                  extended by com.hp.hpl.jena.ontology.OntologyException
                      extended by com.hp.hpl.jena.ontology.ProfileException
All Implemented Interfaces:
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.

Version:
CVS $Id: ProfileException.java,v 1.2 2009-10-06 13:04:34 ian_dickinson Exp $
Author:
Ian Dickinson, HP Labs (email)
See Also:
Serialized Form

Constructor Summary
ProfileException(String element, Profile profile)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProfileException

public ProfileException(String element,
                        Profile profile)


Licenced under the Apache License, Version 2.0