Class ModelException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ModelException
    extends RDF4JException
    An exception thrown by Model and Models when specific conditions are not met.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String buildMessage​(Value v1, Value v2)  
      • 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

      • ModelException

        public ModelException​(Value value)
      • ModelException

        public ModelException​(Value v1,
                              Value v2)
      • ModelException

        public ModelException​(java.lang.String message,
                              java.lang.Throwable cause)
      • ModelException

        public ModelException​(java.lang.String message)
      • ModelException

        public ModelException​(java.lang.Throwable cause)
    • Method Detail

      • buildMessage

        private static java.lang.String buildMessage​(Value v1,
                                                     Value v2)