Package org.eclipse.rdf4j.query
Class TupleQueryResultHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.rdf4j.common.exception.RDF4JException
org.eclipse.rdf4j.query.QueryResultHandlerException
org.eclipse.rdf4j.query.TupleQueryResultHandlerException
- All Implemented Interfaces:
Serializable
An exception that can be thrown by an TupleQueryResultHandler when it encounters an unrecoverable error. If an
exception is associated with the error then this exception can be wrapped in a TupleHandlerException and can later be
retrieved from it when the TupleHandlerException is caught using the getCause().
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new TupleQueryResultHandlerException.TupleQueryResultHandlerException
(String msg, Throwable cause) Creates a new TupleQueryResultHandlerException wrapping another exception.Creates a new TupleQueryResultHandlerException wrapping another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TupleQueryResultHandlerException
Creates a new TupleQueryResultHandlerException.- Parameters:
msg
- An error message.
-
TupleQueryResultHandlerException
Creates a new TupleQueryResultHandlerException wrapping another exception.- Parameters:
cause
- The cause of the exception.
-
TupleQueryResultHandlerException
Creates a new TupleQueryResultHandlerException wrapping another exception.- Parameters:
msg
- An error message.cause
- The cause of the exception.
-