Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • 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.