Package io.apicurio.registry.storage
Class ContentNotFoundException
- 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.ContentNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ContentNotFoundException extends NotFoundException
- Author:
- eric.wittmann@gmail.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentNotFoundException(String contentIdentifier)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentIdentifier()
String
getMessage()
void
setContentIdentifier(String contentIdentifier)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ContentNotFoundException
public ContentNotFoundException(String contentIdentifier)
Constructor.- Parameters:
contentIdentifier
-
-
-
Method Detail
-
getContentIdentifier
public String getContentIdentifier()
- Returns:
- the contentIdentifier
-
setContentIdentifier
public void setContentIdentifier(String contentIdentifier)
- Parameters:
contentIdentifier
- the contentIdentifier to set
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
- See Also:
Throwable.getMessage()
-
-