Class ApicurioRegistryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.pipestream.registration.repository.ApicurioRegistryException
All Implemented Interfaces:
Serializable

public class ApicurioRegistryException extends RuntimeException
Exception thrown when operations with Apicurio Registry fail. This allows callers to specifically catch and handle Apicurio-related failures separately from other runtime exceptions.
See Also:
  • Constructor Details

    • ApicurioRegistryException

      public ApicurioRegistryException(String message)
      Creates a new ApicurioRegistryException with a message.
      Parameters:
      message - explanation of the failure
    • ApicurioRegistryException

      public ApicurioRegistryException(String message, Throwable cause)
      Creates a new ApicurioRegistryException with a message and cause.
      Parameters:
      message - explanation of the failure
      cause - the underlying exception that caused this failure
    • ApicurioRegistryException

      public ApicurioRegistryException(String message, String serviceName, String artifactId, Throwable cause)
      Creates a new ApicurioRegistryException with context information.
      Parameters:
      message - explanation of the failure
      serviceName - the service name that was being operated on
      artifactId - the artifact ID that was being operated on
      cause - the underlying exception that caused this failure
  • Method Details

    • getServiceName

      public String getServiceName()
      Returns the service name that was being operated on when the failure occurred.
      Returns:
      the service name, or null when none was supplied
    • getArtifactId

      public String getArtifactId()
      Returns the artifact ID that was being operated on when the failure occurred.
      Returns:
      the artifact ID, or null when none was supplied