コード例 #1
0
  public static void deleteType(long typeId) throws RemoteException {
    try {
      AdvTypeServiceUtil.deleteType(typeId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #2
0
  public static void deleteType(com.vportal.portlet.vadvman.model.AdvType type)
      throws RemoteException {
    try {
      AdvTypeServiceUtil.deleteType(type);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }