Class ApprovalFormatException
Exception that is thrown when an Approval has an invalid format.
Inheritance
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ApprovalFormatException : ArgumentException
Constructors
ApprovalFormatException()
Initializes a new instance of the Approval
Declaration
public ApprovalFormatException()
ApprovalFormatException(SerializationInfo, StreamingContext)
Initializes a new instance of the Approval
Declaration
protected ApprovalFormatException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | The object that holds the serialized object data. |
System. |
context | The contextual information about the source or destination. |
ApprovalFormatException(String)
Initializes a new instance of the Approval
Declaration
public ApprovalFormatException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
ApprovalFormatException(String, Exception)
Initializes the new instance of Approval
Declaration
public ApprovalFormatException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The error message that explains the reason for the exception. |
System. |
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. |
ApprovalFormatException(String, String)
Initializes a new instance of the Approval
Declaration
public ApprovalFormatException(string message, string paramName)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
System. |
paramName | The name of the parameter. |
ApprovalFormatException(String, String, Exception)
Initializes the new instance of Approval
Declaration
public ApprovalFormatException(string message, string paramName, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The error message that explains the reason for the exception. |
System. |
paramName | The name of the parameter. |
System. |
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. |