Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / files / LockException.java
blob48caf6794036118ce0cb23025f48624bfea21867
1 // Copyright 2010 Google Inc. All Rights Reserved.
3 package com.google.appengine.api.files;
5 import com.google.apphosting.api.ApiProxy;
7 import java.io.IOException;
9 /**
10 * An exception that indicates one of two possible cases:
12 * <ol>
13 * <li>An exclusive lock on a file is held by a different App Engine request and
14 * so the file may not be accessed in this request
15 * <li>This request is trying to acquire an exclusive lock on a file but the
16 * file is already opened in a different App Engine request
17 * </ol>
20 @Deprecated
21 public class LockException extends IOException {
22 LockException() {
25 LockException(String message, ApiProxy.ApplicationException cause) {
26 super(message, cause);