Package de.xima.fc.gui.elfinder
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
public abstract class ElfinderConnectorException extends Exception
Exception raised when a request to the elfinder connector could not be handled.- Since:
 - 8.3.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElfinderConnectorException.ClientRepresents a client error.static classElfinderConnectorException.ServerRepresents a server error. 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedElfinderConnectorException(String message)protectedElfinderConnectorException(String message, String[] data)protectedElfinderConnectorException(String message, Throwable cause)protectedElfinderConnectorException(String message, Throwable cause, String[] data) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetErrorValue()The 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ElfinderConnectorException
protected ElfinderConnectorException(String message)
 
 - 
 
- 
Method Detail
- 
getErrorValue
public final Object getErrorValue()
The error value to return in the response.- Returns:
 - The error value.
 
 
- 
ofCode
public static ElfinderConnectorException ofCode(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.- 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.
 
 
 - 
 
 -