/// Create a with the given message
/// and error code.
@@ -67,5 +80,6 @@
public JobPersistenceException(string msg, Exception cause, int errorCode) : base(msg, cause, errorCode)
{
}
+
}
}
\ No newline at end of file
Index: src/Quartz/ObjectAlreadyExistsException.cs
===================================================================
--- src/Quartz/ObjectAlreadyExistsException.cs (revision 179)
+++ src/Quartz/ObjectAlreadyExistsException.cs (working copy)
@@ -20,6 +20,7 @@
*/
using System;
using System.Globalization;
+using System.Runtime.Serialization;
namespace Quartz
{
@@ -42,6 +43,18 @@
{
}
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The that holds the serialized object data about the exception being thrown.
+ /// The that contains contextual information about the source or destination.
+ /// The class name is null or is zero (0).
+ /// The info parameter is null.
+ public ObjectAlreadyExistsException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {
+ }
+
///
/// Create a and auto-generate a
/// message using the name/group from the given .
Index: src/Quartz/SchedulerConfigException.cs
===================================================================
--- src/Quartz/SchedulerConfigException.cs (revision 179)
+++ src/Quartz/SchedulerConfigException.cs (working copy)
@@ -19,6 +19,7 @@
* Previously Copyright (c) 2001-2004 James House
*/
using System;
+using System.Runtime.Serialization;
namespace Quartz
{
@@ -46,5 +47,17 @@
{
ErrorCode = ErrorBadConfiguration;
}
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The that holds the serialized object data about the exception being thrown.
+ /// The that contains contextual information about the source or destination.
+ /// The class name is null or is zero (0).
+ /// The info parameter is null.
+ public SchedulerConfigException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {
+ }
}
}
\ No newline at end of file
Index: src/Quartz/SchedulerException.cs
===================================================================
--- src/Quartz/SchedulerException.cs (revision 179)
+++ src/Quartz/SchedulerException.cs (working copy)
@@ -20,6 +20,7 @@
*/
using System;
using System.Globalization;
+using System.Runtime.Serialization;
namespace Quartz
{
@@ -89,6 +90,18 @@
///
/// Initializes a new instance of the class.
///
+ /// The that holds the serialized object data about the exception being thrown.
+ /// The that contains contextual information about the source or destination.
+ /// The class name is null or is zero (0).
+ /// The info parameter is null.
+ public SchedulerException(SerializationInfo info, StreamingContext context)
+ : base(info.GetString("Message"))
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
/// The MSG.
/// The error code.
public SchedulerException(string msg, int errorCode) : base(msg)
Index: src/Quartz/UnableToInterruptJobException.cs
===================================================================
--- src/Quartz/UnableToInterruptJobException.cs (revision 179)
+++ src/Quartz/UnableToInterruptJobException.cs (working copy)
@@ -19,6 +19,7 @@
* Previously Copyright (c) 2001-2004 James House
*/
using System;
+using System.Runtime.Serialization;
namespace Quartz
{
@@ -44,5 +45,17 @@
public UnableToInterruptJobException(Exception cause) : base(cause)
{
}
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The that holds the serialized object data about the exception being thrown.
+ /// The that contains contextual information about the source or destination.
+ /// The class name is null or is zero (0).
+ /// The info parameter is null.
+ public UnableToInterruptJobException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {
+ }
}
}
\ No newline at end of file