Package de.xima.fc.gui.elfinder
Class ElfinderConnectorException.Client
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.gui.elfinder.ElfinderConnectorException
-
- de.xima.fc.gui.elfinder.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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.elfinder.ElfinderConnectorException
ElfinderConnectorException.Client, ElfinderConnectorException.Server
-
-
Constructor Summary
Constructors Constructor Description Client(EElfinderErrorCode errorCode, String... arguments)
Creates a new expected client error with the given error code.Client(EElfinderErrorCode errorCode, String message, Throwable cause, String... arguments)
Creates a new expected client error with the given error code.Client(EElfinderErrorCode errorCode, Throwable cause, String... arguments)
Creates a new expected client error with the given error code.Client(String message)
Creates a new expected client error.Client(String message, EElfinderErrorCode errorCode, String... arguments)
Creates a new expected client error with the given error code.Client(String message, IllegalArgumentException cause)
Creates a new expected client error.Client(String message, String[] data)
Creates a new expected client error.
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.elfinder.ElfinderConnectorException
getErrorValue, ofCode, ofCode, ofCode, ofCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-