root/as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/FLARException.as

リビジョン 3341, 1.6 kB (コミッタ: rokubou, コミット時期: 2 年 前)

--

  • svn:mime-type 属性の設定値: text/plain
Line 
1 /*
2  * PROJECT: FLARToolKit
3  * --------------------------------------------------------------------------------
4  * This work is based on the NyARToolKit developed by
5  *   R.Iizuka (nyatla)
6  * http://nyatla.jp/nyatoolkit/
7  *
8  * The FLARToolKit is ActionScript 3.0 version ARToolkit class library.
9  * Copyright (C)2008 Saqoosha
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this framework; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24  *
25  * For further information please contact.
26  *      http://www.libspark.org/wiki/saqoosha/FLARToolKit
27  *      <saq(at)saqoosha.net>
28  *
29  */
30
31 package org.libspark.flartoolkit
32 {
33         import jp.nyatla.nyartoolkit.as3.NyARException;
34
35         public class FLARException extends NyARException
36         {
37                 public function FLARException(m:String = '')
38                 {
39                         super(m);
40                 }
41
42                 public static function trap(m:String):void
43                 {
44                         throw new FLARException("トラップ:" + m);
45                 }
46
47                 public static function notImplement():void
48                 {
49                         throw new FLARException("Not Implement!");
50                 }
51         }
52 }
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。