Search Results for

    Show / Hide Table of Contents

    Class Exception

    Represents errors that occur during application execution.

    Inheritance
    Object
    Exception
    Inherited Members
    Object::DeleteObject(float timeToLive = 0.0f, bool useGameTime=false)
    Object::DeleteObjectNow()
    Object::Flags
    Object::OnDeleteObject()
    Object::~Object()
    Namespace: Log
    Assembly: FlaxEngine.dll
    File: Engine/Debug/Exception.h
    Syntax
    public class Exception : public Object

    Constructors

    ~Exception()

    Virtual destructor

    Declaration
    public virtual ~Exception()

    Exception()

    Creates default exception without additional data

    Declaration
    public Exception()

    Exception(const String& additionalInfo)

    Creates default exception with additional data

    Declaration
    public Exception(const String& additionalInfo)
    Parameters
    String additionalInfo

    Additional information that help describe error

    Exception(const String& message, const String& additionalInfo)

    Creates new custom message with additional data

    Declaration
    public Exception(const String& message, const String& additionalInfo)
    Parameters
    String message

    The message that describes the error.

    String additionalInfo

    Additional information that help describe error

    Fields

    _additionalInfo

    Declaration
    protected String _additionalInfo
    Field Value
    String

    _level

    Declaration
    protected LogType _level
    Field Value
    LogType

    _message

    Declaration
    protected String _message
    Field Value
    String

    Methods

    GetAdditionalInfo()

    Gets a additional info that describes the current exception details.

    Declaration
    public String GetAdditionalInfo() const
    Returns
    String

    Message string.

    GetLevel()

    Get exception level

    Declaration
    public LogType GetLevel() const
    Returns
    LogType

    Message Type used for display log

    GetMessage()

    Gets a message that describes the current exception.

    Declaration
    public String GetMessage() const
    Returns
    String

    Message string.

    SetLevel(LogType level)

    Override exception level

    Declaration
    public Exception SetLevel(LogType level)
    Parameters
    LogType level

    Override default value of exception level

    Returns
    Exception

    ToString()

    Gets the string representation of this object.

    Declaration
    public virtual String ToString() const final override
    Returns
    String

    Overrides
    Object::ToString()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat