Class SRUException

    • Constructor Detail

      • SRUException

        public SRUException​(String uri,
                            String details,
                            String message,
                            Throwable cause)
        Constructor.
        Parameters:
        uri - the diagnostic's identifying URI
        details - diagnostic details or null
        message - diagnostic message or null
        cause - the cause of the error or null
      • SRUException

        public SRUException​(String uri,
                            String details,
                            String message)
        Constructor.
        Parameters:
        uri - the diagnostic's identifying URI
        details - diagnostic details or null
        message - diagnostic message or null
      • SRUException

        public SRUException​(String uri,
                            String message,
                            Throwable cause)
        Constructor.
        Parameters:
        uri - the diagnostic's identifying URI
        message - diagnostic message or null
        cause - the cause of the error or null
      • SRUException

        public SRUException​(String uri,
                            String message)
        Constructor.
        Parameters:
        uri - the diagnostic's identifying URI
        message - diagnostic message or null
      • SRUException

        public SRUException​(String uri,
                            Throwable cause)
        Constructor.
        Parameters:
        uri - the diagnostic's identifying URI
        cause - the cause of the error or null
      • SRUException

        public SRUException​(String uri)
        Constructor.
        Parameters:
        uri - the diagnostic's identifying URI
    • Method Detail

      • getDiagnostic

        public SRUDiagnostic getDiagnostic()
        Create a SRU diagnostic from this exception.
        Returns:
        a SRUDiagnostic instance