Search Results for

    Show / Hide Table of Contents

    Class MException

    Represents errors that occur during script execution.

    Inheritance
    MException
    Assembly: FlaxEngine.dll
    File: Engine/Scripting/ManagedCLR/MException.h
    Syntax
    public class MException

    Constructors

    ~MException()

    Disposes a instance of the MException class.

    Declaration
    public ~MException()

    MException(MObject* exception)

    Initializes a new instance of the MException class.

    Declaration
    public MException(MObject* exception)
    Parameters
    MObject exception

    The exception object.

    Fields

    InnerException

    Gets an inner exception. Null if not used.

    Declaration
    public MException* InnerException
    Field Value
    MException

    Message

    Gets a message that describes the current exception.

    Declaration
    public String Message
    Field Value
    String

    StackTrace

    Gets a string representation of the immediate frames on the call stack.

    Declaration
    public String StackTrace
    Field Value
    String

    Methods

    Log(const LogType type, const Char* target)

    Sends exception to the log.

    Declaration
    public void Log(const LogType type, const Char* target)
    Parameters
    LogType type

    The log message type.

    Char target

    Execution target name.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat