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
System.Object
System.Exception
ExcelErrorValueException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.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 |
---|---|---|
System.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