Class ElfinderConnectorException.Client

    • Constructor Detail

      • Client

        public Client​(String message)
        Creates a new expected client error.
        Parameters:
        message - The error message to return in the response.
      • Client

        public Client​(String message,
                      String[] data)
        Creates a new expected client error.
        Parameters:
        message - The error message.
        data - The error data to return in the response.
      • Client

        public Client​(String message,
                      IllegalArgumentException cause)
        Creates a new expected client error.
        Parameters:
        message - The error message to return in the response.
        cause - The underlying cause of the error.
      • Client

        public Client​(EElfinderErrorCode errorCode,
                      String... arguments)
        Creates a new expected client error with the given error code.
        Parameters:
        errorCode - The error code.
        arguments - Additional arguments for the error message.
      • Client

        public Client​(EElfinderErrorCode errorCode,
                      Throwable cause,
                      String... arguments)
        Creates a new expected client error with the given error code.
        Parameters:
        errorCode - The error code.
        cause - The underlying cause of the error.
        arguments - Additional arguments for the error message.
      • Client

        public Client​(EElfinderErrorCode errorCode,
                      String message,
                      Throwable cause,
                      String... arguments)
        Creates a new expected client error with the given error code.
        Parameters:
        errorCode - The error code.
        message - Internal error message.
        cause - The underlying cause of the error.
        arguments - Additional arguments for the error message.
      • Client

        public Client​(String message,
                      EElfinderErrorCode errorCode,
                      String... arguments)
        Creates a new expected client error with the given error code.
        Parameters:
        message - Initial error message.
        errorCode - The error code.
        arguments - Additional arguments for the error message.