Show / Hide Table of Contents

Class UserFriendlyException

Inheritance
object
System.Exception
BusinessException
UserFriendlyException
Implements
System.Runtime.Serialization.ISerializable
IHasErrorCode
IHasErrorDetails
IHasLogLevel
IUserFriendlyException
IBusinessException
Inherited Members
BusinessException.WithData(string, object)
BusinessException.Code
BusinessException.Details
BusinessException.LogLevel
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.ToString()
System.Exception.GetType()
System.Exception.TargetSite
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.StackTrace
System.Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp
Assembly: Volo.Abp.Core.dll
Syntax
public class UserFriendlyException : BusinessException, ISerializable, IHasErrorCode, IHasErrorDetails, IHasLogLevel, IUserFriendlyException, IBusinessException

Constructors

UserFriendlyException(SerializationInfo, StreamingContext)

Declaration
public UserFriendlyException(SerializationInfo serializationInfo, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo serializationInfo
System.Runtime.Serialization.StreamingContext context

UserFriendlyException(string, string?, string?, Exception?, LogLevel)

Declaration
public UserFriendlyException(string message, string? code = null, string? details = null, Exception? innerException = null, LogLevel logLevel = LogLevel.Warning)
Parameters
Type Name Description
string message
string code
string details
System.Exception innerException
Microsoft.Extensions.Logging.LogLevel logLevel

Implements

System.Runtime.Serialization.ISerializable
IHasErrorCode
IHasErrorDetails
IHasLogLevel
IUserFriendlyException
IBusinessException

Extension Methods

AbpExceptionExtensions.GetLogLevel(Exception, LogLevel)
AbpExceptionExtensions.ReThrow(Exception)
AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
HasLogLevelExtensions.WithLogLevel<TException>(TException, LogLevel)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft