mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
A few additions for pretty printing things and getting better error messages
This commit is contained in:
1 parent
d14e077511
commit
a98de54db4
3 files changed
+23
-3
No files matched your search
@@ -607,10 +607,10 @@ function objj_decompile(aString, bundle)
|
||||
var stream = new objj_markedStream(aString);
|
||||
|
||||
if (stream.magicNumber() != STATIC_MAGIC_NUMBER)
|
||||
objj_exception_throw(new objj_exception(OBJJUnrecognizedFormatException, "*** Could not recognize executable code format."));
|
||||
objj_exception_throw(new objj_exception(OBJJUnrecognizedFormatException, "*** Could not recognize executable code format in bundle: "+bundle));
|
||||
|
||||
if (stream.version() != 1.0)
|
||||
objj_exception_throw(new objj_exception(OBJJUnrecognizedFormatException, "*** Could not recognize executable code format."));
|
||||
objj_exception_throw(new objj_exception(OBJJUnrecognizedFormatException, "*** Could not recognize executable code format in bundle: "+bundle));
|
||||
|
||||
var file = NULL,
|
||||
files = [],
|
||||
|
||||
Reference in new issue
Block a user