com.hp.hpl.jena.shared
Class BadURIException

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.shared.BadURIException
All Implemented Interfaces:
java.io.Serializable

public class BadURIException
extends JenaException

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.)

Author:
kers
See Also:
Serialized Form

Constructor Summary
BadURIException(java.lang.String message)
           
 
Method Summary
 
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

BadURIException

public BadURIException(java.lang.String message)


Copyright � 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP