|
using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
namespace DatabaseCatalogReader
{
[Serializable]
public sealed class DatabaseCatalogReaderException : Exception, ISerializable
{
#region ISerializable
private DatabaseCatalogReaderException(
SerializationInfo info, StreamingContext context)
: base(info, context) // pass on to base class
{
// deserialize each field
}
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
SerializationInfo info, StreamingContext context)
{
// serialize each field
// pass on to bas class
base.GetObjectData(info, context);
}
#endregion
#region The three standard public constructors
public DatabaseCatalogReaderException()
: base()
{
}
public DatabaseCatalogReaderException(string message)
: base(message)
{
}
public DatabaseCatalogReaderException(string message, Exception innerException)
: base(message, innerException)
{
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a consultant, trainer, software archtect/engineer, since the early 1980s, working in the greater area of Boston, MA, USA.
My work comprises the entire spectrum of software, shrink-wrapped applications, IT client-server, systems and protocol related work, compilers and operating systems, and more ....
I am currently focused on platform development for distributed computing in service oriented data centers.