class · System
Exception
public class Exception
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public
- Source file
Errors.ant
Inheritance
- Base classes
-
AnyException - Derived types
-
ArgumentErrorFormatErrorIOErrorIndexErrorInvalidCastErrorInvalidOperationErrorKeyNotFoundErrorMissingMemberErrorNotSupportedErrorOverflowError
Constructors
Properties
str Message { get; }
#
Methods
override ToString() : str
#
Private and internal members (1)
str message
#
Inherited members (4)
GetTypemethod from AnyUndescribedmethod from AnyHashmethod from Anydestroymethod from Any
Source
Exception as Antril, decompiled from its Larva HIR.
// System.Exception — System.Core (decompiled from Larva HIR)
into namespace System
{
public class Exception
{
str message;
public:
new()
{
message = "";
}
new(str message)
{
this.message = message;
}
override ToString() : str => message.Length == 0 ? "System.Exception" : "System.Exception: " + message;
str Message
{
get => message;
}
}
}