Inheritance: JSObject
コード例 #1
0
ファイル: ErrorPrototype.cs プロジェクト: raj581/Marvin
        public static string toString(object thisObj)
        {
            SemanticAnalyser.assert_type(thisObj, typeof(ErrorObject));
            ErrorObject error = (ErrorObject)thisObj;

            return(error.message.ToString());
        }
コード例 #2
0
 public static Exception ToException(ErrorObject err){
   return (Exception)err;
 }
コード例 #3
0
 public static Exception ToException(ErrorObject err)
 {
     return((Exception)err);
 }