Show / Hide Table of Contents

Class InvalidMultiplicityException

Exception that is thrown when a dice term is constructed with a negative number of dice.

Inheritance
object
Exception
InvalidMultiplicityException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.DiceNotation.Exceptions
Assembly: GoRogue.dll
Syntax
public class InvalidMultiplicityException : Exception, ISerializable

Constructors

View Source

InvalidMultiplicityException()

Constructor.

Declaration
public InvalidMultiplicityException()
View Source

InvalidMultiplicityException(string)

Constructor, taking a specified error message.

Declaration
public InvalidMultiplicityException(string message)
Parameters
Type Name Description
string message

The error message that explains the reason for the exception.

View Source

InvalidMultiplicityException(string, Exception)

Constructor, taking a specified error message and a reference to the inner exception that is the cause of this exception.

Declaration
public InvalidMultiplicityException(string message, Exception innerException)
Parameters
Type Name Description
string message

The error message that explains the reason for the exception.

Exception innerException

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Implements

ISerializable

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX