Class UnresolvableModelException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnresolvableModelException
    extends java.lang.Exception
    Signals an error when resolving the path to an external model.
    Author:
    Benjamin Bentmann
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnresolvableModelException​(java.lang.String message, java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
      Creates a new exception with specified detail message.
      UnresolvableModelException​(java.lang.String message, java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.Throwable cause)
      Creates a new exception with specified detail message and cause.
      UnresolvableModelException​(java.lang.Throwable cause, java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
      Creates a new exception with specified cause
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getArtifactId()
      Gets the artifact id of the unresolvable model.
      java.lang.String getGroupId()
      Gets the group id of the unresolvable model.
      java.lang.String getVersion()
      Gets the version of the unresolvable model.
      • 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

      • UnresolvableModelException

        public UnresolvableModelException​(java.lang.String message,
                                          java.lang.String groupId,
                                          java.lang.String artifactId,
                                          java.lang.String version,
                                          java.lang.Throwable cause)
        Creates a new exception with specified detail message and cause.
        Parameters:
        message - The detail message, may be null.
        groupId - The group id of the unresolvable model, may be null.
        artifactId - The artifact id of the unresolvable model, may be null.
        version - The version of the unresolvable model, may be null.
        cause - The cause, may be null.
      • UnresolvableModelException

        public UnresolvableModelException​(java.lang.String message,
                                          java.lang.String groupId,
                                          java.lang.String artifactId,
                                          java.lang.String version)
        Creates a new exception with specified detail message.
        Parameters:
        message - The detail message, may be null.
        groupId - The group id of the unresolvable model, may be null.
        artifactId - The artifact id of the unresolvable model, may be null.
        version - The version of the unresolvable model, may be null.
      • UnresolvableModelException

        public UnresolvableModelException​(java.lang.Throwable cause,
                                          java.lang.String groupId,
                                          java.lang.String artifactId,
                                          java.lang.String version)
        Creates a new exception with specified cause
        Parameters:
        cause -
        groupId -
        artifactId -
        version -
    • Method Detail

      • getGroupId

        public java.lang.String getGroupId()
        Gets the group id of the unresolvable model.
        Returns:
        The group id of the unresolvable model, can be empty but never null.
      • getArtifactId

        public java.lang.String getArtifactId()
        Gets the artifact id of the unresolvable model.
        Returns:
        The artifact id of the unresolvable model, can be empty but never null.
      • getVersion

        public java.lang.String getVersion()
        Gets the version of the unresolvable model.
        Returns:
        The version of the unresolvable model, can be empty but never null.