Show / Hide Table of Contents

Class InvalidConfigurationException

Raised by generation steps in OnPerform(GenerationContext) when a parameter has been misconfigured.

Inheritance
object
Exception
InvalidConfigurationException
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.MapGeneration
Assembly: GoRogue.dll
Syntax
public class InvalidConfigurationException : Exception, ISerializable

Constructors

View Source

InvalidConfigurationException()

Creates an empty configuration exception.

Declaration
public InvalidConfigurationException()
View Source

InvalidConfigurationException(GenerationStep, string, string)

Creates a configuration exception with a helpful message.

Declaration
public InvalidConfigurationException(GenerationStep step, string parameterName, string message)
Parameters
Type Name Description
GenerationStep step

The generation step that the misconfigured parameter was encountered in.

string parameterName

The name of the misconfigured parameter.

string message

A message explaining the requirements for the parameter's value.

View Source

InvalidConfigurationException(string)

Creates a configuration exception with a customized message.

Declaration
public InvalidConfigurationException(string message)
Parameters
Type Name Description
string message
View Source

InvalidConfigurationException(string, Exception)

Creates a configuration exception with a customized message an inner exception.

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

Properties

View Source

ParameterName

Name of parameter that was misconfigured.

Declaration
public string? ParameterName { get; }
Property Value
Type Description
string
View Source

Step

Generation step that had a misconfigured parameter.

Declaration
public GenerationStep? Step { get; }
Property Value
Type Description
GenerationStep

Implements

ISerializable

Extension Methods

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