Package io.apicurio.registry.storage
Class InvalidArtifactStateException
- 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.InvalidArtifactStateException
-
- All Implemented Interfaces:
Serializable
public class InvalidArtifactStateException extends StorageException
- Author:
- Ales Justin
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidArtifactStateException(ArtifactState previousState, ArtifactState newState)
InvalidArtifactStateException(String groupId, String artifactId, String version, ArtifactState state)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
errorMsg(ArtifactState previousState, ArtifactState newState)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidArtifactStateException
public InvalidArtifactStateException(String groupId, String artifactId, String version, ArtifactState state)
-
InvalidArtifactStateException
public InvalidArtifactStateException(ArtifactState previousState, ArtifactState newState)
-
-
Method Detail
-
errorMsg
public static String errorMsg(ArtifactState previousState, ArtifactState newState)
-
-