Class OnErrorExceptionAdapter
A wrapper/adapter class for instances of System.Exception which are added to the expression context by an OnErrorAttributeDecorator. This exposes a standard API, which is part of the TAL spec.
Inheritance
System.Object
OnErrorExceptionAdapter
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: ZptSharp.Tal
Assembly: ZptSharp.dll
Syntax
public class OnErrorExceptionAdapter
Constructors
| Improve this Doc View SourceOnErrorExceptionAdapter(Exception)
Initializes a new instance of the OnErrorExceptionAdapter class.
Declaration
public OnErrorExceptionAdapter(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The exception. |
Properties
| Improve this Doc View Sourcetraceback
Gets the exception traceback (AKA stack trace).
Declaration
public string traceback { get; }
Property Value
Type | Description |
---|---|
System.String | The stack trace. |
type
Gets the exception type.
Declaration
public Type type { get; }
Property Value
Type | Description |
---|---|
System.Type | The exception type. |
value
Gets the exception object instance
Declaration
public Exception value { get; }
Property Value
Type | Description |
---|---|
System.Exception | The exception object. |