Class AbpAuthorizationException
This exception is thrown on an unauthorized request.
Implements
Namespace: Volo.Abp.Authorization
Assembly: Volo.Abp.Security.dll
Syntax
public class AbpAuthorizationException : AbpException, IHasLogLevel
Constructors
AbpAuthorizationException()
Creates a new AbpAuthorizationException object.
Declaration
public AbpAuthorizationException()
AbpAuthorizationException(SerializationInfo, StreamingContext)
Creates a new AbpAuthorizationException object.
Declaration
public AbpAuthorizationException(SerializationInfo serializationInfo, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | serializationInfo | |
StreamingContext | context |
AbpAuthorizationException(String)
Creates a new AbpAuthorizationException object.
Declaration
public AbpAuthorizationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
AbpAuthorizationException(String, Exception)
Creates a new AbpAuthorizationException object.
Declaration
public AbpAuthorizationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
Exception | innerException | Inner exception |
Properties
LogLevel
Severity of the exception. Default: Warn.
Declaration
public LogLevel LogLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |