Пример #1
0
 public CompositeData getCoordination(long id) throws IOException {
   Coordination c = getCoordinationById(id);
   if (c != null) {
     try {
       return fromCoordination((CoordinationImpl) c);
     } catch (OpenDataException e) {
       throw new IOException(e.toString());
     }
   }
   throw new IOException("No such Coordination " + id);
 }