com.hp.hpl.jena.iri
Class IRIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hp.hpl.jena.iri.IRIException
All Implemented Interfaces:
java.io.Serializable

public abstract class IRIException
extends java.lang.RuntimeException

A violation detected in an IRI has resulted was classified as an error. This classification depends on the settings of the IRIFactory. Some methods, such as IRIFactoryI.create(String), do not throw exceptions when they encounter such as errors, but merely remember the error to be accessed by the user using IRI.violations(boolean).

Author:
Jeremy J. Carroll
See Also:
Serialized Form

Constructor Summary
protected IRIException()
           
 
Method Summary
abstract  Violation getViolation()
          Access details of the error in the IRI being processed.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IRIException

protected IRIException()
Method Detail

getViolation

public abstract Violation getViolation()
Access details of the error in the IRI being processed.

Returns:
The error that caused this exception