Package com.iqser.core.exception

Examples of com.iqser.core.exception.IQserRuntimeException


      }else{
        logger.warn("Invalid action " + action + " on " + content.getType()
            + " content" + content.getContentUrl());
      }
    } catch (IQserException e) {
      throw new IQserRuntimeException(e);
    } catch (FacebookException fe){
      throw new IQserRuntimeException(fe);
    }
  } 
View Full Code Here


    // for each facebook connection
    Collection<Content> existingContents = Collections.EMPTY_LIST;
    try {
      existingContents = getExistingContents();
    } catch (IQserException e) {
      throw new IQserRuntimeException("Error in doHousekeeping() - getExistingContents()", e);
    }
       
    IFacebookRESTClient fbClient = facebookClientFactory.createFacebookAPIClient(accessToken);

    // an improvement to this would be to group contents by user and for
View Full Code Here

      IFacebookContentBuilder builder = createBuilder(type, accessToken);

      builder.performAction(action, content);
    } else {
      throw new IQserRuntimeException("Action " + action + " not supported by content");
    }
  }
View Full Code Here

TOP

Related Classes of com.iqser.core.exception.IQserRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.