\Alo\ExceptionFileException

File-related exceptions

Summary

Methods
Properties
Constants
__construct()
No public properties found
E_FOPEN_FAIL
E_PATH_NOT_SET
E_FILE_NOT_EXISTS
E_NAME_INVALID
E_CONTENT_INVALID
E_PATH_INVALID
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

E_FOPEN_FAIL

E_FOPEN_FAIL

Code when opening the file fails

E_PATH_NOT_SET

E_PATH_NOT_SET

Code when the file path is not set

E_FILE_NOT_EXISTS

E_FILE_NOT_EXISTS

Code when a file doesn't exist

E_NAME_INVALID

E_NAME_INVALID

Code when the file or directory name is invalid

E_CONTENT_INVALID

E_CONTENT_INVALID

Code when content supplied is invalid

E_PATH_INVALID

E_PATH_INVALID

Code when the path is invalid

Methods

__construct()

__construct(string  $message = '', integer  $code, \Exception  $previous = null) 

Creates the exception

Parameters

string $message

Exception message

integer $code

Exception code

\Exception $previous

Previous exception, if chaining