Language

ObjCException Class

Definition

Represents an Objective-C exception that has been caught and wrapped as a managed exception.

public class ObjCException : Exception
type ObjCException = class
    inherit Exception
Inheritance
ObjCException

Constructors

Name Description
ObjCException()

Initializes a new instance of the ObjCException class with a default NSException.

ObjCException(NSException)

Initializes a new instance of the ObjCException class wrapping the specified Objective-C exception.

Properties

Name Description
Message

Gets a message that includes the exception name, reason, and native stack trace.

Name

Gets the name of the underlying Objective-C exception.

NSException

Gets the underlying NSException that this exception wraps.

Reason

Gets the reason string from the underlying Objective-C exception.

Methods

Name Description
ToString()

Applies to