String reqDate = DateUtility.convertDateToXSDString(lastModifiedDate);
String msg = String.format("%s/%s lastModifiedDate (%s) " +
"is more recent than the " +
"request (%s)", pid,
datastreamId, dsDate, reqDate);
throw new DatastreamLockedException(msg);
}
}
// some forbidden scenarios...
if (orig.DSState.equals("D")) {