diff --git a/Blarg.GameFramework/Blarg.GameFramework.csproj b/Blarg.GameFramework/Blarg.GameFramework.csproj
index 476ba94..684c704 100644
--- a/Blarg.GameFramework/Blarg.GameFramework.csproj
+++ b/Blarg.GameFramework/Blarg.GameFramework.csproj
@@ -193,6 +193,7 @@
+
diff --git a/Blarg.GameFramework/ConfigFileException.cs b/Blarg.GameFramework/ConfigFileException.cs
new file mode 100644
index 0000000..d946bf6
--- /dev/null
+++ b/Blarg.GameFramework/ConfigFileException.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace Blarg.GameFramework
+{
+ public class ConfigFileException : Exception
+ {
+ public ConfigFileException()
+ : base()
+ {
+ }
+
+ public ConfigFileException(String message)
+ : base(message)
+ {
+ }
+
+ public ConfigFileException(String message, Exception innerException)
+ : base(message, innerException)
+ {
+ }
+ }
+}
+
diff --git a/Blarg.GameFramework/Graphics/Atlas/TextureAtlasLoader.cs b/Blarg.GameFramework/Graphics/Atlas/TextureAtlasLoader.cs
index f534eb2..3123eb4 100644
--- a/Blarg.GameFramework/Graphics/Atlas/TextureAtlasLoader.cs
+++ b/Blarg.GameFramework/Graphics/Atlas/TextureAtlasLoader.cs
@@ -24,13 +24,12 @@ namespace Blarg.GameFramework.Graphics.Atlas
throw new ArgumentNullException("file");
var reader = new StreamReader(file);
-
var definition = JsonConvert.DeserializeObject(reader.ReadToEnd());
if (definition.Texture == null)
- throw new Exception("No texture file specified.");
+ throw new ConfigFileException("No texture file specified.");
if (definition.Tiles == null || definition.Tiles.Count == 0)
- throw new Exception("No tiles defined.");
+ throw new ConfigFileException("No tiles defined.");
var contentManager = Framework.Services.Get();
if (contentManager == null)