def.addBodyAndJoint(argBodyMap.get(body), (DistanceJoint) djoint);
}
break;
}
case LINE: {
UnsupportedObjectException e =
new UnsupportedObjectException("Line joint no longer supported.", Type.JOINT);
if (ulistener == null || ulistener.isUnsupported(e)) {
throw e;
}
return null;
}
default: {
UnsupportedObjectException e =
new UnsupportedObjectException("Unknown joint type: " + joint.getType(), Type.JOINT);
if (ulistener == null || ulistener.isUnsupported(e)) {
throw e;
}
return null;
}