Class FileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.foundation.connectivity.impl.exception.FileException
-
- All Implemented Interfaces:
Serializable
public class FileException extends AppException
Signals that an operation involving a file denoted by a specified pathname has failed.- Since:
- 9.3
- Author:
- J. Hermus
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileException(String path, String message)
Constructs a FileException, in context of the provided file path, with a specified detail message.FileException(String path, String message, Throwable cause)
Constructs a FileException, in context of the provided file path, with a specified detail message and cuase of the exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FileException
public FileException(String path, String message)
Constructs a FileException, in context of the provided file path, with a specified detail message.- Parameters:
path
- identifier of the file that is the context of the operation that failed (can be null).message
- the detail message (can be null).
-
FileException
public FileException(String path, String message, Throwable cause)
Constructs a FileException, in context of the provided file path, with a specified detail message and cuase of the exception.- Parameters:
path
- identifier of the file that is the context of the operation that failed (can be null).message
- the detail message (can be null).cause
- the cause of the exception (can be null).
-
-