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
| Improve this Doc 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
| Improve this Doc 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 |