ImageException
extends FrameworkException
in package
implements
ExceptionInterface
Class FrameworkException
A collection of exceptions thrown by the framework that can only be determined at run time.
Table of Contents
Interfaces
- ExceptionInterface
- Provides a domain-level interface for broad capture of all framework-related exceptions.
Methods
- __construct() : mixed
- Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
- forCopyError() : static
- forEnabledZlibOutputCompression() : static
- forEXIFUnsupported() : static
- Thrown when the EXIF function is not supported.
- forFabricatorCreateFailed() : static
- forFileNotSupported() : static
- Thrown when the file specific is not following the role.
- forImageProcessFailed() : static
- Thrown when the image process failed.
- forInvalidDirection() : static
- Thrown when the direction property is invalid.
- forInvalidDirectory() : static
- forInvalidFile() : static
- forInvalidImageCreate() : static
- Thrown when the image specific is invalid.
- forInvalidImageLibraryPath() : static
- Thrown when the image library path is invalid.
- forInvalidPath() : static
- Thrown when the path property is invalid.
- forMissingAngle() : static
- Thrown when the angle is undefined.
- forMissingExtension() : static
- forMissingImage() : static
- Thrown when the image is not found.
- forNoHandlers() : static
- forSaveFailed() : static
- Thrown when the image save failed.
Methods
__construct()
Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
public
final __construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int = 0
- $previous : Throwable|null = null
forCopyError()
public
static forCopyError(string $path) : static
Parameters
- $path : string
Return values
staticforEnabledZlibOutputCompression()
public
static forEnabledZlibOutputCompression() : static
Return values
staticforEXIFUnsupported()
Thrown when the EXIF function is not supported.
public
static forEXIFUnsupported() : static
Return values
staticforFabricatorCreateFailed()
public
static forFabricatorCreateFailed(string $table, string $reason) : static
Parameters
- $table : string
- $reason : string
Return values
staticforFileNotSupported()
Thrown when the file specific is not following the role.
public
static forFileNotSupported() : static
Return values
staticforImageProcessFailed()
Thrown when the image process failed.
public
static forImageProcessFailed() : static
Return values
staticforInvalidDirection()
Thrown when the direction property is invalid.
public
static forInvalidDirection([string|null $dir = null ]) : static
Parameters
- $dir : string|null = null
Return values
staticforInvalidDirectory()
public
static forInvalidDirectory(string $path) : static
Parameters
- $path : string
Return values
staticforInvalidFile()
public
static forInvalidFile(string $path) : static
Parameters
- $path : string
Return values
staticforInvalidImageCreate()
Thrown when the image specific is invalid.
public
static forInvalidImageCreate([string|null $extra = null ]) : static
Parameters
- $extra : string|null = null
Return values
staticforInvalidImageLibraryPath()
Thrown when the image library path is invalid.
public
static forInvalidImageLibraryPath([string|null $path = null ]) : static
Parameters
- $path : string|null = null
Return values
staticforInvalidPath()
Thrown when the path property is invalid.
public
static forInvalidPath() : static
Return values
staticforMissingAngle()
Thrown when the angle is undefined.
public
static forMissingAngle() : static
Return values
staticforMissingExtension()
public
static forMissingExtension(string $extension) : static
No longer used.
Parameters
- $extension : string
Return values
staticforMissingImage()
Thrown when the image is not found.
public
static forMissingImage() : static
Return values
staticforNoHandlers()
public
static forNoHandlers(string $class) : static
Parameters
- $class : string
Return values
staticforSaveFailed()
Thrown when the image save failed.
public
static forSaveFailed() : static