Package io.apicurio.registry.storage
Class ArtifactNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.apicurio.registry.types.RegistryException
-
- io.apicurio.registry.storage.StorageException
-
- io.apicurio.registry.storage.NotFoundException
-
- io.apicurio.registry.storage.ArtifactNotFoundException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VersionNotFoundException
public class ArtifactNotFoundException extends NotFoundException
- Author:
- eric.wittmann@gmail.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArtifactNotFoundException(String artifactId)
ArtifactNotFoundException(String groupId, String artifactId)
Constructor.ArtifactNotFoundException(String groupId, String artifactId, Throwable cause)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArtifactId()
String
getGroupId()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ArtifactNotFoundException
public ArtifactNotFoundException(String groupId, String artifactId)
Constructor.- Parameters:
groupId
-artifactId
-
-
ArtifactNotFoundException
public ArtifactNotFoundException(String groupId, String artifactId, Throwable cause)
Constructor.- Parameters:
groupId
-artifactId
-cause
-
-
ArtifactNotFoundException
public ArtifactNotFoundException(String artifactId)
-
-
Method Detail
-
getArtifactId
public String getArtifactId()
- Returns:
- the artifactId This value is informative. MAY be null.
-
getGroupId
public String getGroupId()
- Returns:
- the groupId
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
- See Also:
Throwable.getMessage()
-
-