Class ExceptionHelper
Inheritance
System.Object
ExceptionHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.IL2CPU
Assembly: Cosmos.IL2CPU.dll
Syntax
public static class ExceptionHelper
Fields
| Improve this Doc View SourceCurrentException
Declaration
public static Exception CurrentException
Field Value
Type | Description |
---|---|
System.Exception |
Methods
| Improve this Doc View SourceThrowArgumentOutOfRange(String)
Declaration
public static void ThrowArgumentOutOfRange(string aError)
Parameters
Type | Name | Description |
---|---|---|
System.String | aError |
ThrowDivideByZeroException()
Declaration
public static void ThrowDivideByZeroException()
ThrowIndexOutOfRangeException()
Declaration
public static void ThrowIndexOutOfRangeException()
ThrowInvalidCastException()
Declaration
public static void ThrowInvalidCastException()
ThrowInvalidOperation(String)
Declaration
public static void ThrowInvalidOperation(string aError)
Parameters
Type | Name | Description |
---|---|---|
System.String | aError |
ThrowNotFiniteNumberException(Double)
Declaration
public static void ThrowNotFiniteNumberException(double offendingNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offendingNumber |
ThrowNotImplemented(String)
Declaration
public static void ThrowNotImplemented(string aError)
Parameters
Type | Name | Description |
---|---|---|
System.String | aError |
ThrowOverflow()
Declaration
public static void ThrowOverflow()