Class SourceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.micronaut.jsonschema.generator.discovery.SourceUnavailableException
- All Implemented Interfaces:
Serializable
A configured discovery source is unavailable before per-object schema retrieval can start.
- Since:
- 2.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSourceUnavailableException(String scope, String name, DiscoveryStep step, String code, String message) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SourceUnavailableException
public SourceUnavailableException(String scope, String name, DiscoveryStep step, String code, String message) - Parameters:
scope- Discovery scope in which the source is unavailablename- Source object name, ornullwhen the failure applies to the whole sourcestep- Discovery step that detected the unavailable sourcecode- Stable diagnostic code for the failuremessage- Human-readable failure description
-
-
Method Details
-
scope
- Returns:
- Discovery scope in which the source is unavailable
-
name
- Returns:
- Source object name, or
nullwhen the failure applies to the whole source
-
step
- Returns:
- Discovery step that detected the unavailable source
-
code
- Returns:
- Stable diagnostic code for the failure
-