/** * Create an OtpErlangExit exception with the given reason and sender pid. * * @param reason * the reason this exit signal has been sent. * * @param pid * the pid that sent this exit. */ public OtpErlangExit(OtpErlangObject reason, OtpErlangPid pid) : base(reason.ToString()) { this.reason = reason; this.pid = pid; }
/** * Create an OtpErlangExit exception with the given reason. * * @param reason * the reason this exit signal has been sent. */ public OtpErlangExit(OtpErlangObject reason) : base(reason.ToString()) { this.reason = reason; }