Package org.hivedb

Examples of org.hivedb.HiveLockableException


      isWritable(lockable);
  }
 
  public static void isWritable(Lockable lockable) throws HiveLockableException {
    if(lockable.getStatus() != Lockable.Status.writable)
      throw new HiveLockableException(
          String.format("This operation is invalid because the %s is currently set to status %s.", lockable.getClass().getSimpleName(), lockable.getStatus()));
    }
View Full Code Here

TOP

Related Classes of org.hivedb.HiveLockableException

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.