Class BadStateException¶
Namespace: OfficeOpenXml.Packaging.Ionic.Zip
Assembly: EPPlus.dll
Indicates that an operation was attempted on a ZipFile which was not possible
given the state of the instance. For example, if you call Save() on a ZipFile
which has no filename set, you can get this exception.
Inheritance¶
object ← Exception ← ZipException ← BadStateException
Implements¶
Inherited Members¶
Exception.Data
Exception.GetBaseException()
Exception.GetType()
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.SerializeObjectState
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.ToString()
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
BadStateException()¶
Default ctor.
BadStateException(string)¶
Come on, you know how exceptions work. Why are you looking at this documentation?
Parameters¶
message string
The message in the exception.
BadStateException(string, Exception)¶
Come on, you know how exceptions work. Why are you looking at this documentation?
Parameters¶
message string
The message in the exception.
innerException Exception
The innerException for this exception.