Yurttas/PL/OOL/CS/F/08/02/AException.cs

From ZCubes Wiki
Jump to navigation Jump to search
 1/**
 2 *  Copyright(C) 2004
 3 *  All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4 *
 5 *  Permission to use, copy, modify, and distribute this
 6 *  software and its documentation for EDUCATIONAL purposes
 7 *  and without fee is hereby granted provided that this
 8 *  copyright notice appears in all copies.
 9 *
10 *  @date   : January 1, 2004.
11 *  @author : Salih Yurttas.
12 */
13
14
15using System;
16
17namespace E00
18{
19  public class AException : Exception
20  {
21    public string s;
22    public object o;
23
24    public AException(string s,
25                      object o) 
26    {
27      Console.WriteLine("No named \"" + s + "\" found");
28      this.s = s;
29      this.o = o;
30    }
31  }
32}