Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. 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
Branches
Tags
No related merge requests found
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
*/ */
using System; using System;
using System.IO;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using TUGraz.VectoCommon.Models; using TUGraz.VectoCommon.Models;
...@@ -85,7 +84,6 @@ namespace TUGraz.VectoCommon.Exceptions ...@@ -85,7 +84,6 @@ namespace TUGraz.VectoCommon.Exceptions
{ {
public InvalidFileFormatException(string message) : base(message) {} public InvalidFileFormatException(string message) : base(message) {}
public InvalidFileFormatException(string message, params object[] args) : base(string.Format(message, args)) {} public InvalidFileFormatException(string message, params object[] args) : base(string.Format(message, args)) {}
public InvalidFileFormatException(string message, Exception inner) : base(message) {}
} }
/// <summary> /// <summary>
...@@ -96,10 +94,6 @@ namespace TUGraz.VectoCommon.Exceptions ...@@ -96,10 +94,6 @@ namespace TUGraz.VectoCommon.Exceptions
{ {
public UnsupportedFileVersionException(string message) : base(message) {} public UnsupportedFileVersionException(string message) : base(message) {}
public UnsupportedFileVersionException(string message, Exception inner) : base(message, inner) {} 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> /// <summary>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment