Class InnerError


  • public final class InnerError
    extends Object
    Inner error.
    • Constructor Detail

      • InnerError

        public InnerError()
    • Method Detail

      • diagnosticcontext

        public String diagnosticcontext()
        Get the diagnosticcontext property: Provides correlation for request.
        Returns:
        the diagnosticcontext value.
      • withDiagnosticcontext

        public InnerError withDiagnosticcontext​(String diagnosticcontext)
        Set the diagnosticcontext property: Provides correlation for request.
        Parameters:
        diagnosticcontext - the diagnosticcontext value to set.
        Returns:
        the InnerError object itself.
      • time

        public OffsetDateTime time()
        Get the time property: Request time.
        Returns:
        the time value.
      • withTime

        public InnerError withTime​(OffsetDateTime time)
        Set the time property: Request time.
        Parameters:
        time - the time value to set.
        Returns:
        the InnerError object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.