初始化上传
This commit is contained in:
16
常用工具集/Utility/Network/Modbus/SharpSerial/SerialException.cs
Normal file
16
常用工具集/Utility/Network/Modbus/SharpSerial/SerialException.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace SharpSerial
|
||||
{
|
||||
public class SerialException : Exception
|
||||
{
|
||||
private readonly string trace;
|
||||
|
||||
public SerialException(string message, string trace) : base(message)
|
||||
{
|
||||
this.trace = trace;
|
||||
}
|
||||
|
||||
public string Trace { get { return trace; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user