Exemple #1
0
 public void AddTile(ITile tile)
 {
     if (cache.ContainsKey(tile.Name))
     {
         throw TileException.DoubleDefinition(tile.Name);
     }
     cache.Add(tile.Name, tile);
 }
 public static Exception ErrorInTile(TileException te, ParseContext context)
 {
     return MakePartial(new TileExceptionWithContext(te.Message)).Decorate(context).KeepHttpErrorCode(te);
 }
Exemple #3
0
 public static Exception ErrorInTile(TileException te, ParseContext context)
 {
     return(MakePartial(new TileExceptionWithContext(te.Message)).Decorate(context).KeepHttpErrorCode(te));
 }