Class ApprovalRejectionException

Exception that is thrown when an Approval cannot be rejected because it is already approved.

Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
ApprovalRejectionException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class ApprovalRejectionException : InvalidOperationException, ISerializable, _Exception

Constructors

ApprovalRejectionException()

Initializes a new instance of the ApprovalRejectionException class.

Declaration
public ApprovalRejectionException()

ApprovalRejectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the ApprovalRejectionException class with serialized data.

Declaration
protected ApprovalRejectionException(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.

ApprovalRejectionException(String)

Initializes a new instance of the ApprovalRejectionException class.

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

The message.

ApprovalRejectionException(String, Exception)

Initializes the new instance of ApprovalRejectionException

Declaration
public ApprovalRejectionException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

System.Exception innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

Extension Methods