Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
EDAMSystemException = module.exports.EDAMSystemException = function(args) {
Thrift.TException.call(this, "EDAMSystemException")
this.name = "EDAMSystemException"
this.errorCode = null;
this.message = null;
if (args) {
if (args.errorCode !== undefined) {
this.errorCode = args.errorCode;
}
if (args.message !== undefined) {
this.message = args.message;
}
}
};
Thrift.inherits(EDAMSystemException, Thrift.TException);
EDAMSystemException.prototype.name = 'EDAMSystemException';
EDAMSystemException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.I32) {
this.acknowledged_by = null;
this.acknowledged_by_batchlog = null;
this.paxos_in_progress = null;
if (args) {
if (args.acknowledged_by !== undefined) {
this.acknowledged_by = args.acknowledged_by;
}
if (args.acknowledged_by_batchlog !== undefined) {
this.acknowledged_by_batchlog = args.acknowledged_by_batchlog;
}
if (args.paxos_in_progress !== undefined) {
this.paxos_in_progress = args.paxos_in_progress;
}
}
};
Thrift.inherits(TimedOutException, Thrift.TException);
TimedOutException.prototype.name = 'TimedOutException';
TimedOutException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.I32) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
AppFabricServiceException = module.exports.AppFabricServiceException = function(args) {
Thrift.TException.call(this, "AppFabricServiceException")
this.name = "AppFabricServiceException"
this.message = null;
if (args) {
if (args.message !== undefined) {
this.message = args.message;
}
}
};
Thrift.inherits(AppFabricServiceException, Thrift.TException);
AppFabricServiceException.prototype.name = 'AppFabricServiceException';
AppFabricServiceException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
TIOError = module.exports.TIOError = function(args) {
Thrift.TException.call(this, "TIOError")
this.name = "TIOError"
this.message = null;
if (args) {
if (args.message !== undefined) {
this.message = args.message;
}
}
};
Thrift.inherits(TIOError, Thrift.TException);
TIOError.prototype.name = 'TIOError';
TIOError.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
var FARServiceException = module.exports.FARServiceException = function(args) {
Thrift.TException.call(this, "FARServiceException")
this.name = "FARServiceException"
this.message = null;
if (args) {
if (args.message !== undefined) {
this.message = args.message;
}
}
};
Thrift.inherits(FARServiceException, Thrift.TException);
FARServiceException.prototype.name = 'FARServiceException';
FARServiceException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
var AuthenticationException = module.exports.AuthenticationException = function(args) {
Thrift.TException.call(this, "AuthenticationException")
this.name = "AuthenticationException"
this.why = null;
if (args) {
if (args.why !== undefined) {
this.why = args.why;
}
}
};
Thrift.inherits(AuthenticationException, Thrift.TException);
AuthenticationException.prototype.name = 'AuthenticationException';
AuthenticationException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
AuthenticationException = module.exports.AuthenticationException = function(args) {
Thrift.TException.call(this, "AuthenticationException")
this.name = "AuthenticationException"
this.why = null;
if (args) {
if (args.why !== undefined) {
this.why = args.why;
}
}
};
Thrift.inherits(AuthenticationException, Thrift.TException);
AuthenticationException.prototype.name = 'AuthenticationException';
AuthenticationException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
var FARServiceException = module.exports.FARServiceException = function(args) {
Thrift.TException.call(this, "FARServiceException")
this.name = "FARServiceException"
this.message = null;
if (args) {
if (args.message !== undefined) {
this.message = args.message;
}
}
};
Thrift.inherits(FARServiceException, Thrift.TException);
FARServiceException.prototype.name = 'FARServiceException';
FARServiceException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {
output.writeFieldStop();
output.writeStructEnd();
return;
};
var InvalidRequestException = module.exports.InvalidRequestException = function(args) {
Thrift.TException.call(this, "InvalidRequestException")
this.name = "InvalidRequestException"
this.why = null;
if (args) {
if (args.why !== undefined) {
this.why = args.why;
}
}
};
Thrift.inherits(InvalidRequestException, Thrift.TException);
InvalidRequestException.prototype.name = 'InvalidRequestException';
InvalidRequestException.prototype.read = function(input) {
input.readStructBegin();
while (true)
{
var ret = input.readFieldBegin();
var fname = ret.fname;
var ftype = ret.ftype;
var fid = ret.fid;
if (ftype == Thrift.Type.STOP) {
break;
}
switch (fid)
{
case 1:
if (ftype == Thrift.Type.STRING) {