// Inherit java doc from super type
public Lease[] getLeases() throws LeaseUnmarshalException, RemoteException
{
try {
GetLeasesResult result = server.getLeases(uuid);
MarshalledInstance mls[] = result.marshalledLeases;
if (mls == null || mls.length == 0)
return new Lease[0];
final List leases = new LinkedList();
final List problems = new LinkedList();
final List exceptions = new LinkedList();
for (int i=0; i<mls.length; i++) {
Lease l;
final MarshalledInstance ml = mls[i];
try {
l = (Lease) ml.get(result.verifyCodebaseIntegrity());
leases.add(l);
} catch (Throwable t) {
problems.add(ml.convertToMarshalledObject());
exceptions.add(t);
}
}
final Lease[] rslt =