Package org.apache.jena.iri
Class IRIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.jena.iri.IRIException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IRIImplException
public abstract class IRIException extends java.lang.RuntimeExceptionA violation detected in an IRI has resulted was classified as an error. This classification depends on the settings of theIRIFactory. Some methods, such asIRIFactoryI.create(String), do not throw exceptions when they encounter such as errors, but merely remember the error to be accessed by the user usingIRI.violations(boolean).- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ViolationgetViolation()Access details of the error in the IRI being processed.
-
-
-
Method Detail
-
getViolation
public abstract Violation getViolation()
Access details of the error in the IRI being processed.- Returns:
- The error that caused this exception
-
-