Index: src/Quartz/CriticalSchedulerException.cs =================================================================== --- src/Quartz/CriticalSchedulerException.cs (revision 179) +++ src/Quartz/CriticalSchedulerException.cs (working copy) @@ -19,6 +19,7 @@ * Previously Copyright (c) 2001-2004 James House */ using System; +using System.Runtime.Serialization; namespace Quartz { @@ -38,5 +39,17 @@ { ErrorCode = errCode; } + + /// + /// 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 CriticalSchedulerException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } } } \ No newline at end of file Index: src/Quartz/Impl/AdoJobStore/InvalidConfigurationException.cs =================================================================== --- src/Quartz/Impl/AdoJobStore/InvalidConfigurationException.cs (revision 179) +++ src/Quartz/Impl/AdoJobStore/InvalidConfigurationException.cs (working copy) @@ -19,6 +19,7 @@ * Previously Copyright (c) 2001-2004 James House */ using System; +using System.Runtime.Serialization; namespace Quartz.Impl.AdoJobStore { @@ -38,5 +39,18 @@ public InvalidConfigurationException() : base() { } + + /// + /// 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 InvalidConfigurationException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + } } \ No newline at end of file Index: src/Quartz/JobExecutionException.cs =================================================================== --- src/Quartz/JobExecutionException.cs (revision 179) +++ src/Quartz/JobExecutionException.cs (working copy) @@ -20,6 +20,7 @@ */ using System; using System.Globalization; +using System.Runtime.Serialization; namespace Quartz { @@ -129,6 +130,18 @@ refire = refireImmediately; } + /// + /// 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 JobExecutionException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + /// /// Gets or sets a value indicating whether to refire immediately. /// Index: src/Quartz/JobPersistenceException.cs =================================================================== --- src/Quartz/JobPersistenceException.cs (revision 179) +++ src/Quartz/JobPersistenceException.cs (working copy) @@ -19,6 +19,7 @@ * Previously Copyright (c) 2001-2004 James House */ using System; +using System.Runtime.Serialization; namespace Quartz { @@ -40,6 +41,18 @@ ErrorCode = ErrorPersistence; } + /// + /// 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 JobPersistenceException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + ///

/// 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