{ name: 'value', type: types_.STRING }
]);
+ if( this.id === null ) {
+ throw new WebAPIException( WebAPIException.NOT_FOUND_ERR, "Account ID was not initialized." );
+ }
+
var result = native_.callSync('Account_setExtendedData',
{
accountId: this.id,
}
]);
+ if( this.id === null ) {
+ throw new WebAPIException( WebAPIException.NOT_FOUND_ERR, "Account ID was not initialized." );
+ }
+
var result = native_.call('Account_getExtendedData', { accountId: this.id },
function(result) {
if (native_.isFailure(result)) {
{ name: 'key', type: types_.STRING }
]);
+ if( this.id === null ) {
+ throw new WebAPIException( WebAPIException.NOT_FOUND_ERR, "Account ID was not initialized." );
+ }
+
var result = native_.callSync('Account_getExtendedDataSync',
{
accountId: this.id,