Package com.baasbox.exception

Examples of com.baasbox.exception.InvalidAppCodeException


  }
 
  public static ODatabaseRecordTx open(String appcode, String username,String password) throws InvalidAppCodeException {
   
    if (appcode==null || !appcode.equals(BBConfiguration.configuration.getString(BBConfiguration.APP_CODE)))
      throw new InvalidAppCodeException("Authentication info not valid or not provided: " + appcode + " is an Invalid App Code");
    if(dbFreeze.get()){
      throw new ShuttingDownDBException();
    }
    String databaseName=BBConfiguration.getDBDir();
    if (Logger.isDebugEnabled()) Logger.debug("opening connection on db: " + databaseName + " for " + username);
View Full Code Here

TOP

Related Classes of com.baasbox.exception.InvalidAppCodeException

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.