Class ExceptionHelper
Class with exception helper methods.
Inheritance
System.Object
ExceptionHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public static class ExceptionHelper
Methods
ThrowSchemaColumnNotFoundException<T>(Guid, String, String)
Raises a EntitySchemaColumnNotFoundException.
Declaration
public static T ThrowSchemaColumnNotFoundException<T>(Guid schemaUId, string schemaName, string columnMetaPath)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | schemaUId | Unique identifier of Entity schema. |
System.String | schemaName | Entity schema name. |
System.String | columnMetaPath | Entity schema column meta path. |
Returns
Type | Description |
---|---|
T | Throws exception. |
Type Parameters
Name | Description |
---|---|
T | Type to return from method. |
ThrowSchemaNotFoundException<T>(Guid)
Raises a EntitySchemaNotFoundException.
Declaration
public static T ThrowSchemaNotFoundException<T>(Guid schemaUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | schemaUId | Unique identifier of Entity schema. |
Returns
Type | Description |
---|---|
T | Throws exception. |
Type Parameters
Name | Description |
---|---|
T | Type to return from method. |