Add project files.
This commit is contained in:
21
Exceptions/UnknownTypeException.cs
Normal file
21
Exceptions/UnknownTypeException.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GpsClient2.Exceptions {
|
||||
public class UnknownTypeException : Exception {
|
||||
public UnknownTypeException(Type type) : base($"Unknown Class Type: {type}") {
|
||||
|
||||
}
|
||||
|
||||
public UnknownTypeException(string type) : base($"Unknown Class Type: {type}") {
|
||||
|
||||
}
|
||||
|
||||
public UnknownTypeException() : base("Unknown Class Type") {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user