Chromium Embedded Framework (CEF)  114.2.1+gd70a0a8+chromium-114.0.5735.45
CefV8Exception Class Referenceabstract

Class representing a V8 exception. More...

#include "include/cef_v8.h"

Inheritance diagram for CefV8Exception:
CefBaseRefCounted

Public Member Functions

virtual CefString GetMessage ()=0
 Returns the exception message. More...
 
virtual CefString GetSourceLine ()=0
 Returns the line of source code that the exception occurred within. More...
 
virtual CefString GetScriptResourceName ()=0
 Returns the resource name for the script from where the function causing the error originates. More...
 
virtual int GetLineNumber ()=0
 Returns the 1-based number of the line where the error occurred or 0 if the line number is unknown. More...
 
virtual int GetStartPosition ()=0
 Returns the index within the script of the first character where the error occurred. More...
 
virtual int GetEndPosition ()=0
 Returns the index within the script of the last character where the error occurred. More...
 
virtual int GetStartColumn ()=0
 Returns the index within the line of the first character where the error occurred. More...
 
virtual int GetEndColumn ()=0
 Returns the index within the line of the last character where the error occurred. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class representing a V8 exception.

The methods of this class may be called on any render process thread.

Member Function Documentation

◆ GetEndColumn()

virtual int CefV8Exception::GetEndColumn ( )
pure virtual

Returns the index within the line of the last character where the error occurred.

◆ GetEndPosition()

virtual int CefV8Exception::GetEndPosition ( )
pure virtual

Returns the index within the script of the last character where the error occurred.

◆ GetLineNumber()

virtual int CefV8Exception::GetLineNumber ( )
pure virtual

Returns the 1-based number of the line where the error occurred or 0 if the line number is unknown.

◆ GetMessage()

virtual CefString CefV8Exception::GetMessage ( )
pure virtual

Returns the exception message.

◆ GetScriptResourceName()

virtual CefString CefV8Exception::GetScriptResourceName ( )
pure virtual

Returns the resource name for the script from where the function causing the error originates.

◆ GetSourceLine()

virtual CefString CefV8Exception::GetSourceLine ( )
pure virtual

Returns the line of source code that the exception occurred within.

◆ GetStartColumn()

virtual int CefV8Exception::GetStartColumn ( )
pure virtual

Returns the index within the line of the first character where the error occurred.

◆ GetStartPosition()

virtual int CefV8Exception::GetStartPosition ( )
pure virtual

Returns the index within the script of the first character where the error occurred.


The documentation for this class was generated from the following file: