equal
deleted
inserted
replaced
780 if ((message.subject).length > 256) { |
780 if ((message.subject).length > 256) { |
781 // a("starteditor3"); |
781 // a("starteditor3"); |
782 throw new DeviceException(this.error.DATA_OUT_OF_RANGE_ERR, "Messaging:startEditor:subject is too lengthy");//SErrMissingArgument = 1003 |
782 throw new DeviceException(this.error.DATA_OUT_OF_RANGE_ERR, "Messaging:startEditor:subject is too lengthy");//SErrMissingArgument = 1003 |
783 } |
783 } |
784 } |
784 } |
785 if (message.to == undefined || message.to == null) { |
|
786 // a("starteditor4"); |
|
787 throw new DeviceException(this.error.MISSING_ARG_ERR, "Messaging:startEditor:to field is missing");//SErrMissingArgument = 1003 |
|
788 } |
|
789 |
785 |
790 if (message.attachments != undefined && message.attachments != null && typeof message.attachments != "object") { |
786 if (message.attachments != undefined && message.attachments != null && typeof message.attachments != "object") { |
791 // a("INVALID_ARG_ERR"); |
787 // a("INVALID_ARG_ERR"); |
792 throw new DeviceException(this.error.INVALID_ARG_ERR, "Messaging:startEditor:attachment is invalid");//SErrMissingArgument = 1003 |
788 throw new DeviceException(this.error.INVALID_ARG_ERR, "Messaging:startEditor:attachment is invalid");//SErrMissingArgument = 1003 |
793 } |
789 } |