Class ElfinderConnectorException.Client

All Implemented Interfaces:
Serializable
Enclosing class:
ElfinderConnectorException

public static final class ElfinderConnectorException.Client extends ElfinderConnectorException
Represents a client error. This is an expected error as mandated by the elfinder server API spec.
Since:
8.3.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • 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.