Package net.ontopia.topicmaps.utils.rdf
Class RDFMappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.ontopia.utils.OntopiaRuntimeException
-
- net.ontopia.topicmaps.utils.rdf.RDFMappingException
-
- All Implemented Interfaces:
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
Constructors Constructor Description RDFMappingException(String msg)
RDFMappingException(String msg, String subject, String property)
PUBLIC: Creates an exception that remembers the subject and the property of the statement that caused the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getProperty()
PUBLIC: Returns the URI of the property of the statement that caused this exception, if any, and if known.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
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Method Detail
-
getSubject
public 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 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
-
-