Package org.apache.jena.shared
Class BadURIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.jena.shared.JenaException
org.apache.jena.shared.BadURIException
- All Implemented Interfaces:
Serializable
A Jena exception for malformed URIs.
Jena checks URIs sometimes, particularly on input and output. It is however possible to have a Jena model which contains bad URIs. Such a model cannot be written out very easily, particularly in RDF/XML, try N-TRIPLE. An input document, particularly when no base URL is known, may introduce relative URIs into a model. These may later cause this exception.
(This one is an unchecked exception, so we don't litter our code with try-catch blocks or throws declarations.)
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadURIException
-