Ze lines must be wrapped lines at 100 columns or zere vill be punishment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5145 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -86,7 +86,8 @@ public class ObjectMarshaller
|
|||||||
|
|
||||||
var data :ByteArray = encode(obj, false) as ByteArray;
|
var data :ByteArray = encode(obj, false) as ByteArray;
|
||||||
if (maxLength >= 0 && data != null && data.length > maxLength) {
|
if (maxLength >= 0 && data != null && data.length > maxLength) {
|
||||||
throw new ArgumentError("Cannot encode data of size " + data.length + " bytes. May be at most " + maxLength + " bytes.");
|
throw new ArgumentError("Cannot encode data of size " + data.length + " bytes. " +
|
||||||
|
"May be at most " + maxLength + " bytes.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
|
|||||||
Reference in New Issue
Block a user