Package org.eclipse.rdf4j.model.util

## Class ModelException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.eclipse.rdf4j.common.exception.RDF4JException
        - - org.eclipse.rdf4j.model.util.ModelException

- All Implemented Interfaces:
    `Serializable`

      public class ModelException
      extends RDF4JException

  An exception thrown by `Model` and `Models` when specific conditions are not met.
  Author:
    Arjohn Kampman
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ModelException​(String message)` |
    `ModelException​(String message, Throwable cause)` |
    `ModelException​(Throwable cause)` |
    `ModelException​(Value value)` |
    `ModelException​(Value v1, Value v2)` |

  - ### 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

    - #### ModelException

          public ModelException​(Value value)

    - #### ModelException

          public ModelException​(Value v1,
                                Value v2)

    - #### ModelException

          public ModelException​(String message,
                                Throwable cause)

    - #### ModelException

          public ModelException​(String message)

    - #### ModelException

          public ModelException​(Throwable cause)