projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a461b2
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 25 Nov 2010 06:06:46 +0000
(14:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 25 Nov 2010 06:06:46 +0000
(14:06 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
5c357f4
..
365f47a
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-604,7
+604,19
@@
XObject.extend(XObject,
{
print("ERROR: " + output);
},
-
+ /**
+ * fatal error
+ * @param {String|Object} output String to print.
+ */
+ fatal : function(output)
+ {
+
+ throw {
+ name: "ArgumentError",
+ message : output
+
+ }
+ },
/**
* Copies all the properties of config to obj, if the do not exist.