Class ApprovalMissingCommentException
Exception that is thrown when a comment is required.
Inheritance
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ApprovalMissingCommentException : ArgumentExceptionConstructors
ApprovalMissingCommentException()
Initializes a new instance of the ApprovalMissingCommentException class.
Declaration
public ApprovalMissingCommentException()ApprovalMissingCommentException(SerializationInfo, StreamingContext)
Initializes a new instance of the ApprovalMissingCommentException class with serialized data.
Declaration
protected ApprovalMissingCommentException(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. | 
ApprovalMissingCommentException(String)
Initializes a new instance of the ApprovalMissingCommentException class.
Declaration
public ApprovalMissingCommentException(string message)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The message. | 
ApprovalMissingCommentException(String, Exception)
Initializes the new instance of ApprovalMissingCommentException
Declaration
public ApprovalMissingCommentException(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. | 
ApprovalMissingCommentException(String, String)
Initializes a new instance of the ApprovalMissingCommentException class.
Declaration
public ApprovalMissingCommentException(string message, string paramName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The message. | 
| System.String | paramName | The name of the parameter. | 
ApprovalMissingCommentException(String, String, Exception)
Initializes the new instance of ApprovalMissingCommentException
Declaration
public ApprovalMissingCommentException(string message, string paramName, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The error message that explains the reason for the exception. | 
| System.String | paramName | The name of the parameter. | 
| 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. | 
