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
messagestringThe message that describes the error.
UnauthorizedException(ErrorMessage)
Initializes a new instance of the UnauthorizedException class.
public UnauthorizedException(HttpEnum.ErrorMessage message)
Parameters
messageHttpEnum.ErrorMessageThe error message associated with the exception.