# Interface ICefV8Exception

Description
Hierarchy
Methods
Properties

## Unit

uCEFInterfaces

## Declaration

`type ICefV8Exception = interface(ICefBaseRefCounted)`

## Description

Interface representing a V8 exception. The functions of this interface may be called on any render process thread.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_v8_capi.h">CEF source file: /include/capi/cef_v8_capi.h (cef_v8_exception_t))

## Hierarchy

- IInterface
- ICefBaseRefCounted
- ICefV8Exception

## Overview

### Methods

Public | `function GetMessage: ustring;`
Public | `function GetSourceLine: ustring;`
Public | `function GetScriptResourceName: ustring;`
Public | `function GetLineNumber: Integer;`
Public | `function GetStartPosition: Integer;`
Public | `function GetEndPosition: Integer;`
Public | `function GetStartColumn: Integer;`
Public | `function GetEndColumn: Integer;`

### Properties

Public | `property Message : ustring read GetMessage;`
Public | `property SourceLine : ustring read GetSourceLine;`
Public | `property ScriptResourceName : ustring read GetScriptResourceName;`
Public | `property LineNumber : Integer read GetLineNumber;`
Public | `property StartPosition : Integer read GetStartPosition;`
Public | `property EndPosition : Integer read GetEndPosition;`
Public | `property StartColumn : Integer read GetStartColumn;`
Public | `property EndColumn : Integer read GetEndColumn;`

## Description

### Methods

Public | `function GetMessage: ustring;`
Returns the exception message. ###### Attributes GUID['{7E422CF0-05AC-4A60-A029-F45105DCE6A4}']

Public | `function GetSourceLine: ustring;`
Returns the line of source code that the exception occurred within.

Public | `function GetScriptResourceName: ustring;`
Returns the resource name for the script from where the function causing the error originates.

Public | `function GetLineNumber: Integer;`
Returns the 1-based number of the line where the error occurred or 0 if the line number is unknown.

Public | `function GetStartPosition: Integer;`
Returns the index within the script of the first character where the error occurred.

Public | `function GetEndPosition: Integer;`
Returns the index within the script of the last character where the error occurred.

Public | `function GetStartColumn: Integer;`
Returns the index within the line of the first character where the error occurred.

Public | `function GetEndColumn: Integer;`
Returns the index within the line of the last character where the error occurred.

### Properties

Public | `property Message : ustring read GetMessage;`
Returns the exception message.

Public | `property SourceLine : ustring read GetSourceLine;`
Returns the line of source code that the exception occurred within.

Public | `property ScriptResourceName : ustring read GetScriptResourceName;`
Returns the resource name for the script from where the function causing the error originates.

Public | `property LineNumber : Integer read GetLineNumber;`
Returns the 1-based number of the line where the error occurred or 0 if the line number is unknown.

Public | `property StartPosition : Integer read GetStartPosition;`
Returns the index within the script of the first character where the error occurred.

Public | `property EndPosition : Integer read GetEndPosition;`
Returns the index within the script of the last character where the error occurred.

Public | `property StartColumn : Integer read GetStartColumn;`
Returns the index within the line of the first character where the error occurred.

Public | `property EndColumn : Integer read GetEndColumn;`
Returns the index within the line of the last character where the error occurred.

Generated by PasDoc 1.0.4.