Class ApprovalReviewerSelfApproveException
Exception that is thrown when the user that started the approval sequence is not allowed to approve it.
Inheritance
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ApprovalReviewerSelfApproveException : InvalidOperationException
Constructors
ApprovalReviewerSelfApproveException()
Initializes a new instance of the ApprovalReviewerSelfApproveException class.
Declaration
public ApprovalReviewerSelfApproveException()
ApprovalReviewerSelfApproveException(SerializationInfo, StreamingContext)
Initializes a new instance of the ApprovalReviewerSelfApproveException class with serialized data.
Declaration
protected ApprovalReviewerSelfApproveException(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. |
ApprovalReviewerSelfApproveException(String)
Initializes a new instance of the ApprovalReviewerSelfApproveException class.
Declaration
public ApprovalReviewerSelfApproveException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
ApprovalReviewerSelfApproveException(String, Exception)
Initializes the new instance of ApprovalReviewerSelfApproveException
Declaration
public ApprovalReviewerSelfApproveException(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. |