Class ApprovalDefinitionOperationException
Exception that is thrown when an ApprovalDefinition is not allowed to do the current operation.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class ApprovalDefinitionOperationException : ArgumentException, _Exception, ISerializable
Constructors
ApprovalDefinitionOperationException()
Initializes a new instance of the ApprovalDefinitionOperationException class.
Declaration
public ApprovalDefinitionOperationException()
ApprovalDefinitionOperationException(SerializationInfo, StreamingContext)
Initializes a new instance of the ApprovalDefinitionOperationException class with serialized data.
Declaration
protected ApprovalDefinitionOperationException(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. |
ApprovalDefinitionOperationException(String)
Initializes a new instance of the ApprovalDefinitionOperationException class.
Declaration
public ApprovalDefinitionOperationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
ApprovalDefinitionOperationException(String, Exception)
Initializes the new instance of ApprovalDefinitionOperationException
Declaration
public ApprovalDefinitionOperationException(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. |
ApprovalDefinitionOperationException(String, String)
Initializes a new instance of the ApprovalDefinitionOperationException class.
Declaration
public ApprovalDefinitionOperationException(string message, string paramName)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.String | paramName | The name of the parameter. |
ApprovalDefinitionOperationException(String, String, Exception)
Initializes the new instance of ApprovalDefinitionOperationException
Declaration
public ApprovalDefinitionOperationException(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. |