Class SRUDiagnostic

    • Constructor Detail

      • SRUDiagnostic

        public SRUDiagnostic​(String uri,
                             String details,
                             String message)
        Constructor.
        Parameters:
        uri - the URI identifying the diagnostic
        details - supplementary information available, often in a format specified by the diagnostic or null
        message - human readable message to display to the end user or null
    • Method Detail

      • getURI

        public String getURI()
        Get diagnostic's identifying URI.
        Returns:
        diagnostic code
      • getDetails

        public String getDetails()
        Get supplementary information for this diagnostic. The format for this value is often specified by the diagnostic code.
        Returns:
        supplementary information
      • getMessage

        public String getMessage()
        Get human readable message.
        Returns:
        human readable message