Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 2e566e2b authored by Michael KRISPER's avatar Michael KRISPER
Browse files

VectoExceptions: removed unused methods

parent 9b237658
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,6 @@
*/
using System;
using System.IO;
using System.Runtime.Serialization;
using TUGraz.VectoCommon.Models;
......@@ -85,7 +84,6 @@ namespace TUGraz.VectoCommon.Exceptions
{
public InvalidFileFormatException(string message) : base(message) {}
public InvalidFileFormatException(string message, params object[] args) : base(string.Format(message, args)) {}
public InvalidFileFormatException(string message, Exception inner) : base(message) {}
}
/// <summary>
......@@ -96,10 +94,6 @@ namespace TUGraz.VectoCommon.Exceptions
{
public UnsupportedFileVersionException(string message) : base(message) {}
public UnsupportedFileVersionException(string message, Exception inner) : base(message, inner) {}
public UnsupportedFileVersionException(string filename, int version, Exception inner = null)
: base(string.Format("Unsupported Version of {0} file. Got Version {1}",
Path.GetExtension(filename), version), inner) {}
}
/// <summary>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment