Class RendererException

All Implemented Interfaces:
Serializable

public final class RendererException extends RuntimeException
Provider failure carrying a stable machine-readable RenderFailureCode.
See Also:
  • Constructor Details

    • RendererException

      public RendererException(RenderFailureCode code, String message)
      Creates a typed failure with UNSPECIFIED detail; a cause may still be supplied through initCause.
    • RendererException

      public RendererException(RenderFailureCode code, String message, Throwable cause)
      Creates a typed failure preserving its cause and using UNSPECIFIED detail.
    • RendererException

      public RendererException(RenderFailureCode code, RendererException.Detail detail, String message)
      Creates a failure with a non-null structured detail; message text is diagnostic, not a parsing contract.
    • RendererException

      public RendererException(RenderFailureCode code, RendererException.Detail detail, String message, Throwable cause)
      Creates a failure preserving the broad category, non-null narrower detail and original cause.
  • Method Details

    • code

      public RenderFailureCode code()
      Returns the stable failure category; callers should not parse exception text.
    • detail

      public RendererException.Detail detail()
      Returns a structured narrower reason without requiring message parsing.