コード例 #1
0
  public Long insert(BTBookingDto arg0)
      throws BTBookingException, BTContainerException, BTSiteException {
    Long result = null;
    BTBookingFacade facade = createFacade();

    try {
      result = facade.insert(arg0);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "insert", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }

    return result;
  }