| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // System.Runtime.Serialization.Formatters.ServerFault.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // 2002 (C) Copyright, Ximian, Inc.
- //
- using System;
- using System.Runtime.Serialization;
- namespace System.Runtime.Serialization.Formatters {
- [Serializable]
- public sealed class ServerFault
- {
- string ex_type;
- string ex_message;
- string stacktrace;
- ServerFault serverFault;
- public ServerFault (string exceptionType, string message,
- string stackTrace)
- {
- ex_type = exceptionType;
- ex_message = message;
- stacktrace = stackTrace;
- }
- public string ExceptionType {
- get { return ex_type; }
- set { ex_type = value; }
- }
- public string ExceptionMessage {
- get { return ex_message; }
- set { ex_message = value; }
- }
- public string StackTrace {
- get { return stacktrace; }
- set { stacktrace = value; }
- }
- }
- }
|