API:FMX.Types.EBitmapFormatUnsupported

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.ExceptionSystem.TObjectEBitmapFormatUnsupported

Delphi

EBitmapFormatUnsupported = class(Exception);

C++

class PASCALIMPLEMENTATION EBitmapFormatUnsupported : public System::Sysutils::Exception

Properties

Type Visibility Source Unit Parent
class public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Exception is the base class for all run-time exceptions.

FMX.Types.EBitmapFormatUnsupported inherits from System.SysUtils.Exception. All content below this line refers to System.SysUtils.Exception.

Exception is the base class for all run-time exceptions.

Exception encapsulates the fundamental properties and methods for all exceptions. Use Exception as the base class for creating custom exceptions.

All methods introduced for the Exception object are constructors that provide alternative ways to create exception messages. Some constructors also create help context IDs. Typically, an application calls these constructors dynamically when an exception occurs.

Exception messages can be hard-coded strings, formatted strings, or strings (including formatted strings) loaded from an application resource.

An exception is raised when a runtime error occurs in an application, such as attempting to divide by zero. When an exception is raised, typically an exception instance displays a dialog box describing the error condition. If an application does not handle the exception condition, then the default exception handler is called. This handler also displays a dialog box with an OK button that usually permits an application to continue processing when the user clicks OK.

Note: Standard practice is to derive all exception classes from Exception, and specify a name beginning with "E", followed by an abbreviated, descriptive name.

Code Examples