org.apache.maven.artifact
Class InvalidArtifactRTException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.maven.artifact.InvalidArtifactRTException
All Implemented Interfaces:
Serializable

public class InvalidArtifactRTException
extends RuntimeException

Exception thrown when the identity of an artifact can not be established, eg. one of groupId, artifactId, version or type is null.

See Also:
Serialized Form

Constructor Summary
InvalidArtifactRTException(String groupId, String artifactId, String version, String type, String message)
           
InvalidArtifactRTException(String groupId, String artifactId, String version, String type, String message, Throwable cause)
           
 
Method Summary
 String getArtifactId()
           
 String getArtifactKey()
           
 String getBaseMessage()
           
 String getGroupId()
           
 String getMessage()
           
 String getType()
           
 String getVersion()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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

InvalidArtifactRTException

public InvalidArtifactRTException(String groupId,
                                  String artifactId,
                                  String version,
                                  String type,
                                  String message)

InvalidArtifactRTException

public InvalidArtifactRTException(String groupId,
                                  String artifactId,
                                  String version,
                                  String type,
                                  String message,
                                  Throwable cause)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getBaseMessage

public String getBaseMessage()

getArtifactId

public String getArtifactId()

getGroupId

public String getGroupId()

getType

public String getType()

getVersion

public String getVersion()

getArtifactKey

public String getArtifactKey()


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.