text: package com.thinkaurelius.titan.diskstorage.locking;
  
  import com.thinkaurelius.titan.diskstorage.TemporaryBackendException;
  
  /**
   * This exception signifies a (potentially) temporary exception while attempting
   * to acquire a lock in the Titan storage backend. These can occur due to
   * request timeouts, network failures, etc. Temporary failures represented by
   * this exception might disappear if the request is retried, even if no machine
   * modifies the underlying lock state between the failure and follow-up request.
   * <p/>
   * 
   * @author Matthias Broecheler (me@matthiasb.com)
   */
  
  public class TemporaryLockingException extends TemporaryBackendException {
  
      private static final long serialVersionUID = 482890657293484420L;
  
      /**
       * @param msg Exception message
       */
      public TemporaryLockingException(String msg) {
          super(msg);
      }
  
      /**
       * @param msg   Exception message
       * @param cause Cause of the exception
       */
      public TemporaryLockingException(String msg, Throwable cause) {
          super(msg, cause);
      }
  
      /**
       * Constructs an exception with a generic message
       *
       * @param cause Cause of the exception
       */
      public TemporaryLockingException(Throwable cause) {
          this("Temporary locking failure", cause);
      }
  
  
  }
  