This repository was archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #53 Crash when analyzing solution
- Loading branch information
Malware
committed
Oct 7, 2018
1 parent
3729669
commit 3952958
Showing
7 changed files
with
112 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace Malware.MDKServices | ||
{ | ||
/// <summary> | ||
/// Exception which occurs when trying to access game information, and the game path cannot be reached. | ||
/// </summary> | ||
[Serializable] | ||
public class GamePathUnavailableException : ProjectScriptInfoException | ||
{ | ||
// | ||
// For guidelines regarding the creation of new exception types, see | ||
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp | ||
// and | ||
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp | ||
// | ||
|
||
/// <summary> | ||
/// Creates an instance of <see cref="GamePathUnavailableException"/> | ||
/// </summary> | ||
public GamePathUnavailableException() | ||
: this("The game folder could not be reached. Please make sure the game is installed, and / or check the folder settings of MDK.") | ||
{ } | ||
|
||
/// <summary> | ||
/// Creates an instance of <see cref="GamePathUnavailableException"/> | ||
/// </summary> | ||
/// <param name="message"></param> | ||
public GamePathUnavailableException(string message) : base(message) | ||
{ } | ||
|
||
/// <summary> | ||
/// Creates an instance of <see cref="GamePathUnavailableException"/> | ||
/// </summary> | ||
/// <param name="message"></param> | ||
/// <param name="inner"></param> | ||
public GamePathUnavailableException(string message, Exception inner) : base(message, inner) | ||
{ } | ||
|
||
/// <summary> | ||
/// Creates an instance of <see cref="GamePathUnavailableException"/> | ||
/// </summary> | ||
/// <param name="info"></param> | ||
/// <param name="context"></param> | ||
protected GamePathUnavailableException( | ||
SerializationInfo info, | ||
StreamingContext context) : base(info, context) | ||
{ } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters