Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
FontNotFoundException.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 
5 namespace SiliconStudio.Paradox.Assets.SpriteFont.Compiler
6 {
7  internal class FontNotFoundException : Exception
8  {
9  public FontNotFoundException(string fontName) : base(string.Format("Font with name [{0}] not found on this machine", fontName))
10  {
11  FontName = fontName;
12  }
13 
14  public string FontName { get; private set; }
15  }
16 }