if (this.getMsgSetID() == Error.SVC_MSGSET_ID) {
switch (this.getError()) {
case Error.GEN_UNIMPLEMENTED: {
e = new ImplementationException();
if (this.getParam1() != null) {
this.setParam2(this.getParam1());
message = this.getCatalog().getString(this.getMsgSetID(), 2, this.getMessage(2));
}
if (this.getMethodName() == null) {
p1 = new TextData(this.getCatalog().getString(this.getMsgSetID(), 3, this.getMessage(3)));
}
else {
p1 = new TextData(this.getMethodName());
}
break;
}
case Error.B_CANT_DELETE: {
p1 = key;
p2 = status;
break;
}
case Error.B_CANT_UPDATE: {
p1 = key;
p2 = status;
break;
}
case Error.B_ILLEGAL_ATTR: {
p1 = key;
break;
}
case Error.B_INCONSISTENT_STATE: {
e = new ImplementationException();
p1 = key;
p2 = status;
if (this.getOriginator() != null && this.getOriginator() instanceof BusinessClass) {
if (((BusinessClass)this.getOriginator()).getUpdateQuery() == null) {
message = this.getCatalog().getString(this.getMsgSetID(), 8, this.getMessage(8));