Package org.eclipse.rdf4j.rio
Class RDFHandlerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.rdf4j.common.exception.RDF4JException
-
- org.eclipse.rdf4j.rio.RDFHandlerException
-
- All Implemented Interfaces:
java.io.Serializable
public class RDFHandlerException extends RDF4JException
An exception that can be thrown by an RDFHandler when it encounters an unrecoverable error. If an exception is associated with the error then this exception can be wrapped in an RDFHandlerException and can later be retrieved from it when the RDFHandlerException is catched using the getCause().- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RDFHandlerException(java.lang.String msg)
Creates a new RDFHandlerException.RDFHandlerException(java.lang.String msg, java.lang.Throwable cause)
Creates a new RDFHandlerException wrapping another exception.RDFHandlerException(java.lang.Throwable cause)
Creates a new RDFHandlerException.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RDFHandlerException
public RDFHandlerException(java.lang.String msg)
Creates a new RDFHandlerException.- Parameters:
msg
- An error message.
-
RDFHandlerException
public RDFHandlerException(java.lang.Throwable cause)
Creates a new RDFHandlerException.- Parameters:
cause
- The cause of the exception.
-
RDFHandlerException
public RDFHandlerException(java.lang.String msg, java.lang.Throwable cause)
Creates a new RDFHandlerException wrapping another exception.- Parameters:
msg
- An error message.cause
- The cause of the exception.
-
-