net.ontopia.topicmaps.utils.rdf
Class RDFMappingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ontopia.utils.OntopiaRuntimeException
                  extended by net.ontopia.topicmaps.utils.rdf.RDFMappingException
All Implemented Interfaces:
java.io.Serializable

public class RDFMappingException
extends OntopiaRuntimeException

PUBLIC: Thrown when an error occurs during RDF-to-topic maps conversion.

Since:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause
 
Constructor Summary
RDFMappingException(java.lang.String msg)
           
RDFMappingException(java.lang.String msg, java.lang.String subject, java.lang.String property)
          PUBLIC: Creates an exception that remembers the subject and the property of the statement that caused the error.
 
Method Summary
 java.lang.String getProperty()
          PUBLIC: Returns the URI of the property of the statement that caused this exception, if any, and if known.
 java.lang.String getSubject()
          PUBLIC: Returns the URI of the subject of the statement that caused this exception, if any, and if known.
 
Methods inherited from class net.ontopia.utils.OntopiaRuntimeException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDFMappingException

public RDFMappingException(java.lang.String msg)

RDFMappingException

public RDFMappingException(java.lang.String msg,
                           java.lang.String subject,
                           java.lang.String property)
PUBLIC: Creates an exception that remembers the subject and the property of the statement that caused the error.

Since:
2.0.4
Method Detail

getSubject

public java.lang.String getSubject()
PUBLIC: Returns the URI of the subject of the statement that caused this exception, if any, and if known.

Since:
2.0.4

getProperty

public java.lang.String getProperty()
PUBLIC: Returns the URI of the property of the statement that caused this exception, if any, and if known.

Since:
2.0.4


Copyright © 2000-2012 Ontopia.