com.hp.hpl.jena.ontology
Class ProfileException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.hp.hpl.jena.shared.JenaException
                  extended bycom.hp.hpl.jena.ontology.OntologyException
                      extended bycom.hp.hpl.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.

Version:
CVS $Id: ProfileException.java,v 1.1 2003/05/23 11:13:05 ian_dickinson Exp $
Author:
Ian Dickinson, HP Labs (email)
See Also:
Serialized Form

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

Constructor Detail

ProfileException

public ProfileException(java.lang.String element,
                        Profile profile)


Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.