コード例 #1
0
 public RemoteWrappedException(string throwableClass, string message, RemoteWrappedException cause, string stackTrace)
     : base(message)
 {
     exception = new Dictionary <string, object>(4);
     exception[FIELD_CLASS]   = Assertions.BlankChecked(throwableClass, "throwableClass");
     exception[FIELD_MESSAGE] = message;
     if (null != cause)
     {
         exception[FIELD_CAUSE] = cause.exception;
     }
     if (null != stackTrace)
     {
         exception[FIELD_STACK_TRACE] = stackTrace;
     }
     this.stackTrace = stackTrace;
 }