Class ExcelErrorValueException
This Exception represents an Excel error. When this exception is thrown from an Excel function, the ErrorValue code will be set as the value of the parsed cell.
Inheritance
Object
Exception
ExcelErrorValueException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: OfficeOpenXml.FormulaParsing.Exceptions
Assembly: EPPlus.dll
Syntax
public class ExcelErrorValueException : Exception, ISerializable
Constructors
ExcelErrorValueException(eErrorType)
Constructor
Declaration
public ExcelErrorValueException(eErrorType errorType)
Parameters
| Type | Name | Description |
|---|---|---|
| eErrorType | errorType | The error type causing the exception |
ExcelErrorValueException(ExcelErrorValue)
Constructor
Declaration
public ExcelErrorValueException(ExcelErrorValue error)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelErrorValue | error | The error value causing the exception |
ExcelErrorValueException(String, ExcelErrorValue)
Constructor
Declaration
public ExcelErrorValueException(string message, ExcelErrorValue error)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | An error message for the exception |
| ExcelErrorValue | error | The error value causing the exception |
Properties
ErrorValue
The error value
Declaration
public ExcelErrorValue ErrorValue { get; }
Property Value
| Type | Description |
|---|---|
| ExcelErrorValue |
Implements
System.Runtime.Serialization.ISerializable