Show / Hide Table of Contents

Class OnErrorHandlingException

Raised when a TAL on-error attribute encounters an exception whilst attempting to handle a different rendering exception.

In this case, the System.Exception.InnerException will relate to the error encountered during the on-error handling process. The OriginalException is the error (raised in a different part of the rendering process) which the on-error attribute was attempting to handle.

Inheritance
System.Object
System.Exception
ZptRenderingException
OnErrorHandlingException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ZptSharp.Tal
Assembly: ZptSharp.Abstractions.dll
Syntax
[Serializable]
public class OnErrorHandlingException : ZptRenderingException, ISerializable

Constructors

| Improve this Doc View Source

OnErrorHandlingException()

Initializes a new instance of the OnErrorHandlingException class

Declaration
public OnErrorHandlingException()
| Improve this Doc View Source

OnErrorHandlingException(SerializationInfo, StreamingContext)

Initializes a new instance of the OnErrorHandlingException class

Declaration
protected OnErrorHandlingException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The object that holds the serialized object data.

System.Runtime.Serialization.StreamingContext context

The contextual information about the source or destination.

| Improve this Doc View Source

OnErrorHandlingException(String)

Initializes a new instance of the OnErrorHandlingException class

Declaration
public OnErrorHandlingException(string message)
Parameters
Type Name Description
System.String message

A System.String that describes the exception.

| Improve this Doc View Source

OnErrorHandlingException(String, Exception)

Initializes a new instance of the OnErrorHandlingException class

Declaration
public OnErrorHandlingException(string message, Exception inner)
Parameters
Type Name Description
System.String message

A System.String that describes the exception.

System.Exception inner

The exception that is the cause of the current exception.

Properties

| Improve this Doc View Source

OriginalException

Gets or sets the original exception which was being handled when the current exception was raised..

Declaration
public Exception OriginalException { get; set; }
Property Value
Type Description
System.Exception

The original exception.

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX