Class SchemaRetrievalException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.micronaut.jsonschema.generator.discovery.SchemaRetrievalException
All Implemented Interfaces:
Serializable

public final class SchemaRetrievalException extends IOException
Input-level schema retrieval failure with a stable diagnostic code.
Since:
2.2.0
See Also:
  • Constructor Details

    • SchemaRetrievalException

      public SchemaRetrievalException(String code, String message, String retrievalMode)
      Parameters:
      code - Stable diagnostic code for the retrieval failure
      message - Human-readable failure description
      retrievalMode - Retrieval mechanism that failed, or null when none was selected
  • Method Details

    • code

      public String code()
      Returns:
      Stable diagnostic code for the retrieval failure
    • retrievalMode

      public String retrievalMode()
      Returns:
      Retrieval mechanism that failed, or null when none was selected