Class ConfigurationException
The exception that is thrown when a configuration is invalid.
Implements
Inherited Members
Namespace: Akka.Configuration
Assembly: Akka.dll
Syntax
public class ConfigurationException : AkkaException, ISerializable
Constructors
| Edit this page View SourceConfigurationException(SerializationInfo, StreamingContext)
Initializes a new instance of the ConfigurationException class.
Declaration
protected ConfigurationException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The object that holds the serialized object data. |
| StreamingContext | context | The contextual information about the source or destination. |
ConfigurationException(string)
Initializes a new instance of the ConfigurationException class.
Declaration
public ConfigurationException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
ConfigurationException(string, Exception)
Initializes a new instance of the ConfigurationException class.
Declaration
public ConfigurationException(string message, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
| Exception | exception | The exception that is the cause of the current exception. |
Methods
| Edit this page View SourceNullOrEmptyConfig<T>(string)
Declaration
public static ConfigurationException NullOrEmptyConfig<T>(string path = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path |
Returns
| Type | Description |
|---|---|
| ConfigurationException |
Type Parameters
| Name | Description |
|---|---|
| T |
Edit this page