| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System;
- using System.Runtime.Serialization;
- using JetBrains.Annotations;
- namespace Abp.BackgroundJobs
- {
- [Serializable]
- public class BackgroundJobException : AbpException
- {
- [CanBeNull]
- public BackgroundJobInfo BackgroundJob { get; set; }
- [CanBeNull]
- public object JobObject { get; set; }
- /// <summary>
- /// Creates a new <see cref="BackgroundJobException"/> object.
- /// </summary>
- public BackgroundJobException()
- {
- }
- /// <summary>
- /// Creates a new <see cref="BackgroundJobException"/> object.
- /// </summary>
- public BackgroundJobException(SerializationInfo serializationInfo, StreamingContext context)
- : base(serializationInfo, context)
- {
- }
- /// <summary>
- /// Creates a new <see cref="BackgroundJobException"/> object.
- /// </summary>
- /// <param name="message">Exception message</param>
- /// <param name="innerException">Inner exception</param>
- public BackgroundJobException(string message, Exception innerException)
- : base(message, innerException)
- {
- }
- }
- }
|