com.hp.hpl.jena.iri
Class IRIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hp.hpl.jena.iri.IRIException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IRIImplException
public abstract class IRIException
- extends 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
getViolation
public abstract Violation getViolation()
- Access details of the error in the IRI being processed.
- Returns:
- The error that caused this exception
Copyright ? 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP