Table of Contents

Class UnauthorizedException

Namespace
adas_core.Application.Exceptions
Assembly
adas-core.Application.dll

Exception thrown when a user lacks authorization to perform an operation.

public class UnauthorizedException : Exception, ISerializable
Inheritance
UnauthorizedException
Implements
Inherited Members
Extension Methods

Constructors

UnauthorizedException(string)

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException(string message)

Parameters

message string

The message that describes the error.

UnauthorizedException(ErrorMessage)

Initializes a new instance of the UnauthorizedException class.

public UnauthorizedException(HttpEnum.ErrorMessage message)

Parameters

message HttpEnum.ErrorMessage

The error message associated with the exception.