Class ElfinderConnectorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.gui.elfinder.ElfinderConnectorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ElfinderConnectorException.Client, ElfinderConnectorException.Server
Exception raised when a request to the elfinder connector could not be handled.
- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a client error.static final classRepresents a server error. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedElfinderConnectorException(String message) protectedElfinderConnectorException(String message, String[] data) protectedElfinderConnectorException(String message, Throwable cause) protectedElfinderConnectorException(String message, Throwable cause, String[] data) -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectThe error value to return in the response.static ElfinderConnectorExceptionofCode(EElfinderErrorCode errorCode, String... arguments) Creates a new expected client error with the given error code.static ElfinderConnectorExceptionofCode(EElfinderErrorCode errorCode, String message, Throwable cause, String... arguments) Creates a new expected client error with the given error code.static ElfinderConnectorExceptionofCode(EElfinderErrorCode errorCode, Throwable cause, String... arguments) Creates a new expected client error with the given error code.static ElfinderConnectorExceptionofCode(String message, EElfinderErrorCode errorCode, String... arguments) Creates a new expected client error with the given error code.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ElfinderConnectorException
-
ElfinderConnectorException
-
ElfinderConnectorException
-
ElfinderConnectorException
-
-
Method Details
-
getErrorValue
The error value to return in the response.- Returns:
- The error value.
-
ofCode
Creates a new expected client error with the given error code.- Parameters:
errorCode- The error code.arguments- Additional arguments for the error message.- Returns:
- The new exception.
-
ofCode
public static ElfinderConnectorException ofCode(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.- Returns:
- The new exception.
-
ofCode
public static ElfinderConnectorException ofCode(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.- Returns:
- The new exception.
-
ofCode
public static ElfinderConnectorException ofCode(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.- Returns:
- The new exception.
-