2 // System.Runtime.Serialization.Formatters.ServerFault.cs
\r
4 // Author: Duncan Mak (duncan@ximian.com)
\r
5 // Jean-Marc Andre (jean-marc.andre@polymtl.ca)
\r
7 // 2002 (C) Copyright, Ximian, Inc.
\r
11 using System.Runtime.Remoting.Metadata;
\r
12 using System.Runtime.Serialization;
\r
14 namespace System.Runtime.Serialization.Formatters {
\r
18 public sealed class ServerFault
\r
20 string exceptionType;
\r
23 Exception exception;
\r
25 public ServerFault (string exceptionType, string message,
\r
28 this.exceptionType = exceptionType;
\r
29 this.message = message;
\r
30 this.stackTrace = stackTrace;
\r
33 public string ExceptionType {
\r
34 get { return exceptionType; }
\r
35 set { exceptionType = value; }
\r
38 public string ExceptionMessage {
\r
39 get { return message; }
\r
40 set { message = value; }
\r
43 public string StackTrace {
\r
44 get { return stackTrace; }
\r
45 set { stackTrace = value; }
\r