Class RequestNotAllowedException
The exception that is thrown when a service request is not allowed.
Inheritance
System.Object
RequestNotAllowedException
Namespace: Solti.Utils.DI.Interfaces
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class RequestNotAllowedException : Exception
Remarks
This is a general error that is thrown in different scenarios (for instance in case of StrictDI violation).
Constructors
RequestNotAllowedException(String)
Creates a new RequestNotAllowedException instance.
Declaration
public RequestNotAllowedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
RequestNotAllowedException(String, Exception)
Creates a new RequestNotAllowedException instance.
Declaration
public RequestNotAllowedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |