Class UnresolvableModelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.model.resolution.UnresolvableModelException
All Implemented Interfaces:
Serializable

@Deprecated(since="4.0.0") public class UnresolvableModelException extends Exception
Deprecated.
use ModelBuilder instead
Signals an error when resolving the path to an external model.
See Also:
  • Constructor Details

    • UnresolvableModelException

      public UnresolvableModelException(String message, String groupId, String artifactId, String version, Throwable cause)
      Deprecated.
      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(String message, String groupId, String artifactId, String version)
      Deprecated.
      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(Throwable cause, String groupId, String artifactId, String version)
      Deprecated.
      Creates a new exception with specified cause
      Parameters:
      cause -
      groupId -
      artifactId -
      version -
  • Method Details

    • getGroupId

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

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

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